homebrew-core/.github
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
..
ISSUE_TEMPLATE More issue template tweaks 2019-10-29 17:32:37 +00:00
workflows [Actions] Revert addition of auto-labeller action for bottle :unneeded (#48929) 2020-01-12 17:41:47 +00:00
ISSUE_TEMPLATE.md More issue template tweaks 2019-10-29 17:32:37 +00:00
PULL_REQUEST_TEMPLATE.md PULL_REQUEST_TEMPLATE.md: update template (#35327) 2018-12-22 09:37:55 +01:00
stale.yml .github/stale: add extend configuration. 2020-01-02 09:36:16 +00:00
support.yml support probot: bugs only (#27684) 2018-05-10 02:51:43 -07:00