-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Use paulfantom/periodic-labeler for labeling PRs #4568
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4568 +/- ##
=======================================
Coverage 76.24% 76.24%
=======================================
Files 174 174
Lines 9619 9619
Branches 1964 1964
=======================================
Hits 7334 7334
Misses 2140 2140
Partials 145 145 Continue to review full report at Codecov.
|
|
||
jobs: | ||
label: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/labeler@v2 | ||
- uses: paulfantom/periodic-labeler@v0.0.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense to me on what is needed to have this fix our labeling of PRs, Im not sure on using this repo as we would be possibly exposing secrets in order to label. @mlabieniec what do you think of using this?
Are we worried about https://github.com/marketplace/actions/periodic-labeler not be certified by github? @mlabieniec |
It's not an unreasonable concern: the image referenced (owned by GitHub or otherwise) should still be reviewed and referencing an explicit tag. I generally regard build tooling with the same scrutiny as NPM dependencies (though they have access to the same, if not more, secrets). This PR is the "quick fix" based on my research, but we have several options to resolve it if this user's fork doesn't meet our standards! |
There is another option, and that's to own it ourselves: I hesitate to do this because we already own this workflow, but in a very manual way.
|
Making the 🕴️_executive_🕴️ decision to close this. Our PRs overwhelmingly go unlabeled, which makes triaging more difficult (whether by category or "needs review"):
Improving our issue -> PR pipeline (per my open-source doc) will also mitigate this, as tooling can couple issues with PRs so that they are collated in the pipeline to completion. |
Also, no idea how a "levitating man in suit" is a thing. |
This pull request has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
[Delivers #170288921]
The labeler runs successfully on PRs from
aws-amplify
, but not on forks with this error:This is known, but surprising behavior:
The fix is to switch to
periodic-labeler
, which runs on acron
within the scope ofaws-amplify
, vs. a PR event which runs in the restricted context of the fork:https://github.com/marketplace/actions/periodic-labeler
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.