-
Notifications
You must be signed in to change notification settings - Fork 15
ci: allow PRs to run from external contributions #113
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
Conversation
| concurrency: | ||
| group: ci-${{ github.head_ref || github.ref }} | ||
| cancel-in-progress: true | ||
|
|
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.
What's this for ?
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.
That's to avoid running multiple CIs for the same pull requests, older ones will get cancelled if a new one is started
(See here)
MaeIsBad
left a comment
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.
How does this fix the issue?
|
My initial thought was that CI wasn't run at all since if you look at the external contribution there's nothing to "approve & run", but maybe that's not it...? Anyway, I think the workflow is still better even if it doesn't fix the issue |
|
right yeah I think you're right and the on trigger is just wrong |
For some reason we made it so external contributions' workflows wouldn't run, but reading here first time contributors still need to be approved so there shouldn't be any security issues (see here on Slack for confirmation from security)