Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[Actions] Revert addition of auto-labeller action for `bottle :unneeded` #48929
- I forgot that GitHub doesn't support [until there was a legitimate use case for adding a label](#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.
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments.