Description
GitHub announced a recent change where maintainers need to "approve" workflow runs for PRs from first-time contributors.
Basically, before the CI would run on the PR, core devs need to first "approve" the workflow run, and just the workflow, not the whole PR. I have just came across this in one of the PR in CPython today.
Screenshot from GitHub article. https://docs.github.com/en/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks
One of the issue is that we can't easily tell (visually) of PRs from first time contributors until we open the PR itself. It is not shown in the list of PRs web UI.
Suggestion
I think we need to add a "first contribution" label to PRs from first time contributors.
Then we need to make the bot apply such label to the PR opened by first time contributors. There is a "membership" data that gets passed in the webhooks payload.
Perhaps there's an existing GH action that does this already? If not, it is easy to add to bedevere.
questions
- What color do we want this label to be?
- If writing our own automation, do we do this in bedevere, or GH action?