Skip to content
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

Pull requests now require approval to run on CI #209

Open
annevk opened this issue May 4, 2021 · 4 comments
Open

Pull requests now require approval to run on CI #209

annevk opened this issue May 4, 2021 · 4 comments

Comments

@annevk
Copy link
Member

annevk commented May 4, 2021

Context: https://github.blog/2021-04-22-github-actions-update-helping-maintainers-combat-bad-actors/.

I already find this getting a bit tedious so I wonder what we can do here. One problem is that if you approve it once, subsequent pushes of commits, even if they are made by yourself, require approval. I've found myself approving my own commits several times now.

I think it would be ideal if people approved by whatbot get to just run CI.

I created https://github.community/t/approving-workflow-runs-feedback/178181.

@foolip
Copy link
Member

foolip commented May 4, 2021

In https://github.blog/2021-04-22-github-actions-update-helping-maintainers-combat-bad-actors/ it sounds like approval is only required for first-time contributors, once. Isn't that the case?

@annevk
Copy link
Member Author

annevk commented May 4, 2021

See the topic I created. I think it's first-time, but for each commit they (or you yourself on their branch) create until something is merged.

If it was only for their first commit or per branch that would be more reasonable.

Even then though, even more ideal would be whatbot being able to safelist certain people for having signed the relevant agreement.

@foolip
Copy link
Member

foolip commented May 4, 2021

If there isn't already an API for this approval, there probably will be soon. Given that, whatbot could approve any PR it does a contribution check for which comes out green.

@lucacasonato
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants