Commit Graph

62 Commits (d5e1c64768dc9ae4e1e72f9a46ddfc2b271aba03)

Author SHA1 Message Date
Issy Long 232f4e1fdd
[Actions] Revert addition of auto-labeller action for `bottle :unneeded` (#48929)
- I forgot that GitHub doesn't support secrets in Actions from forked repos, [until there was a legitimate use case for adding a label](https://github.com/Homebrew/homebrew-core/pull/48927), so the action will fail:

```
/opt/hostedtoolcache/Ruby/2.6.3/x64/lib/ruby/gems/2.6.0/gems/octokit-4.15.0/lib/octokit/response/raise_error.rb:16:in `on_complete': POST https://api.github.com/repos/Homebrew/homebrew-core/issues/48927/labels: 403 - Resource not accessible by integration // See: https://developer.github.com/v3/issues/labels/#add-labels-to-an-issue (Octokit::Forbidden)
```

- Given our PR workflow is "forked repo for everything", we can't do this until
  GitHub supports using secrets in forked PRs. It's a [requested
  feature](https://github.community/t5/GitHub-Actions/how-to-use-GITHUB-TOKEN-for-PRs-from-forks/td-p/37450).
- Maybe at some other point in the future, we can revisit this and other
  auto-labelling actions.
- I enjoyed making it nonetheless, and now I have "forked repos" to add to my
  testing for future Actions proof-of-concepts!

----

Reverts #48911 and supersedes #48919.
2020-01-12 17:41:47 +00:00
Issy Long db38f1e3e1
[Actions] Label PRs where the formula is `bottle :unneeded` (#48911)
- The vast majority of formulae here have bottles, but there are some
  that we can merge through the GitHub web UI buttons.
- Yes, we'll still check the diff of submitted formulae, but for those
  short on time, it might be good to know that we can review submissions
  and merge them on GitHub without having to be near a computer to pull
  the bottles.
- This was also a nice look into how we can potentially in future
  auto-label other conditions for formulae (new formula, test failure,
  etc).
2020-01-12 13:12:50 +00:00
Mike McQuaid 0486103e4e
.github/stale: add extend configuration.
This seems to be necessary for stalebot to behave as expected.
2020-01-02 09:36:16 +00:00
Issy Long 0e054fe558 git rm .github/issue-close-app.yml (#48039)
- We disabled the auto-close issue bot earlier this year, so we don't
  need these configs any more.
2019-12-19 20:04:25 +11:00
Mike McQuaid 9068085dd2
generate_formulae.brew.sh_data: fetch/rebase when needed.
Similar change to https://github.com/Homebrew/brew/pull/6791.
2019-12-02 13:22:51 +00:00
Mike McQuaid 047ce267b1 More issue template tweaks
Be more consistent between items and with Homebrew/brew.
2019-10-29 17:32:37 +00:00
Mike McQuaid 5c96f1b3d7 Issue template tweaks
More some stuff from the templates to the chooser and disable blank
issues.

See:
https://github.blog/changelog/2019-10-28-new-issue-template-configuration-options/
2019-10-29 16:13:35 +00:00
Cheng XU ecd943c2bd github action: only run in the main repo
This prevents the action being run in the fork, which
will generate errors due to missing token.
2019-10-02 23:36:37 +02:00
Eric Knibbe ab8015a4d8 Migrate data generation workflow to YAML (#44203) 2019-09-13 09:33:39 +01:00
Mike McQuaid a88c655906
Update issue-close-app.yml (#41322)
Clarify the wording while hopefully remaining friendly.
2019-06-25 19:07:11 +01:00
Mike McQuaid ef210630ba .github/issue-close-app: make message friendlier. (#41132)
This should hopefully make the experience a little more pleasant when users make an innocent mistake.
2019-06-19 18:55:27 +02:00
Sean Molenaar 406649d3d1 issue-close-app: only check issue for checkboxes (#40441) 2019-05-29 19:24:56 +02:00
Mike McQuaid 9b555bdd01
issue-close-app.yml: fix YAML syntax (again)
Use the correct multiline syntax.
2019-05-27 13:41:46 +01:00
Issy Long 818a78cd58 .github/issue-close-app: Fix YAML syntax (#40350)
According to the [README](https://github.com/offu/close-issue-app#usage) it was missing  an `issueConfigs` key. This was causing errors to be posted to new issues rather than the desired text.
2019-05-27 08:51:06 +01:00
Mike McQuaid 4079234670
github/issue-close-app: autoclose missing issue template. (#40317)
It's not a good use of maintainer time to handle these manually.
2019-05-25 13:10:51 +02:00
Mike McQuaid 51ad1ed299
.github/: defer to Homebrew/.github repo. (#40212)
This allows maintaining more settings in one place.
2019-05-23 10:11:45 +02:00
Mike McQuaid 13da06ef33
.github/main.workflow.sh: get latest homebrew-core (#38467) 2019-03-28 21:20:44 +00:00
Mike McQuaid 30a4e37629
.github/main.workflow.sh: exit cleanly on no changes (#38465) 2019-03-28 21:05:30 +00:00
Eric Knibbe 46ca97228a .github/main.workflow.sh: include added files for new formulae (#38460) 2019-03-28 20:50:56 +00:00
Eric Knibbe 199330b59a .github/main.workflow.sh: also push _data/analytics directory (#38147) 2019-03-27 14:26:22 +00:00
Jonathan Chang 9e26b050a2
ISSUE_TEMPLATE: update Linux issue location
It now lives at homebrew/linuxbrew-core.
2019-03-14 15:30:18 +11:00
Mike McQuaid e69b14cbd3
.github/main.workflow.sh: also commit formula directory. 2019-03-06 17:31:07 +00:00
Mike McQuaid 29e6b3f6a7
.github/main.workflow.sh: also update API. 2019-03-06 17:23:08 +00:00
Mike McQuaid 10bc77109a
Push to formulae.brew.sh with GitHub Actions (#37123)
Update formulae.brew.sh with GitHub Actions (and remove Travis CI). This removes the need for Travis CI for pushing changes to formulae.brew.sh and uses GitHub Actions instead.
2019-02-21 12:32:23 +00:00
Mike McQuaid 9f349ab6a9
Update main.workflow* (#37010) 2019-02-15 15:38:06 +00:00
Mike McQuaid 186a030501
main.workflow.sh: fix permissions. 2019-02-15 15:32:28 +00:00
Mike McQuaid 8003b5910a
Update main.workflow.sh
This should get feature parity with Travis CI bar analytics.
2019-02-15 15:07:34 +00:00
Mike McQuaid a807e991cd
Update GitHub Actions main.workflow (#36960) 2019-02-15 13:40:41 +00:00
Mike McQuaid f7e5f35765 Update formulae.brew.sh.workflow 2019-02-13 16:09:36 +00:00
Mike McQuaid f6cf53416d Deploy formulae.brew.sh changes with Actions
Try using GitHub Actions to replace https://github.com/Homebrew/homebrew-core/blob/master/.travis.yml
2019-02-13 16:09:36 +00:00
Mike McQuaid ecd2c4f05b
Add Linuxbrew documentation changes (#36422)
Note Linuxbrew/homebrew-core in the README and in the issue template.
2019-01-27 12:14:06 +00:00
Mike McQuaid 0de5e99130
Remove probot-move. (#35643)
This has been replaced with GitHub's beta feature.
2019-01-02 21:50:58 +00:00
Sumit Murari 9df2dee1fc PULL_REQUEST_TEMPLATE.md: update template (#35327) 2018-12-22 09:37:55 +01:00
Sean Molenaar 55727d2a4b Deny software requests in Bugreport template (#35192) 2018-12-17 19:24:46 +00:00
commitay f58b37306a
reproducible-bug-report: update cask url (#28293) 2018-05-26 19:46:38 +10:00
commitay 190235f4d3 reproducible-bug-report.md: update cask url (#27794) 2018-05-13 17:27:17 -07:00
commitay ae1dadaaf2 support probot: bugs only (#27684) 2018-05-10 02:51:43 -07:00
commitay f5d02871e0 issue_template.md: point questions to discourse (#27685) 2018-05-10 02:33:44 -07:00
Mike McQuaid e6c5264342 Use new ISSUE_TEMPLATEs
Use the new issue template format.
2018-05-08 19:41:20 -04:00
Mike McQuaid 9aa50fb9fc Add more Probots
We're already using the stale bot which seems to work quite well for us.
Let's also add:

- [No Response](https://probot.github.io/apps/no-response/) (replacing
[github-snooze-button](https://github.com/tdsmith/github-snooze-button))
- [Move Issues](https://probot.github.io/apps/move/)
- [Support Requests](https://probot.github.io/apps/support/)
- [Lock Threads](https://probot.github.io/apps/lock/)
2018-05-04 09:13:14 +01:00
Mike McQuaid b494d5a717 ISSUE_TEMPLATE: various updates.
Most notably: try to point people towards Discourse for non-bugs.
2018-02-13 09:28:28 +00:00
ilovezfs d275fde979 ISSUE_TEMPLATE: fix link to caskroom new issue 2017-10-06 07:05:20 -07:00
Mike McQuaid 459e0f3ac5 ISSUE_TEMPLATE: firm up language
Try to be even clearer that we need you to read this.
2017-08-24 11:48:27 +01:00
Mike McQuaid 392c977ce2 ISSUE_TEMPLATE: more tweaks.
- note we don't want cask issues here (again)
- harden closing issue without comment disclaimer
2017-06-16 16:31:34 +01:00
Mike McQuaid f038f9d405 ISSUE_TEMPLATE: tweak instructions.
- Note that Homebrew Cask issues should be filed elsewhere.
- Make `brew`/homebrew-core issue differential in simpler language
- Tell people to fix all `brew doctor` issues
- Refer to the issue checklist and make it even more clear and prominent
  that we may close it out immediately if they don't use it.

Fixes https://github.com/Homebrew/brew/issues/2608
2017-05-10 11:38:01 -05:00
Mike McQuaid 0e8c113400 Add probot-stale configuration. (#12091) 2017-04-05 09:15:38 +01:00
Mike McQuaid 8ceac96314 ISSUE_TEMPLATE: tweak instructions. (#11972)
* ISSUE_TEMPLATE: tweak instructions.

Be clearer about what's expected and where to file things.

* ISSUE_TEMPLATE: tweak new formula title.

* ISSUE_TEMPLATE: formula not formulae
2017-04-02 17:01:32 +01:00
Tej Chajed 53a4acf094 ISSUE_TEMPLATE: fix typo 2017-03-01 08:40:48 +01:00
Mike McQuaid 95256d78c3 ISSUE_TEMPLATE: request more specific information.
And note that we may close things without comment.

Closes #7912.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
2016-12-16 17:32:50 +01:00
Mike McQuaid ff1fc077cb ISSUE_TEMPLATE: tweak based on recent issues. 2016-12-06 14:35:05 +00:00