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

Prevent a PR with failed actions from being merged #1096

Merged
merged 6 commits into from
Feb 2, 2024

Conversation

sethrj
Copy link
Member

@sethrj sethrj commented Feb 1, 2024

In #1094 we discovered that the "all" job being skipped even though branch protection is enabled:
settings

This is a known issue, and this blogger recommends using this action.

@sethrj sethrj added the documentation Documentation, examples, tests, and CI label Feb 1, 2024
@sethrj
Copy link
Member Author

sethrj commented Feb 1, 2024

@amandalund Could you "approve" really quick so that I can see if the PR is actually mergeable in its failed state?

@sethrj
Copy link
Member Author

sethrj commented Feb 1, 2024

Lol the failure message...
frownies

@sethrj
Copy link
Member Author

sethrj commented Feb 1, 2024

OK cool, verified that failed and cancelled jobs both prevent merging.

@sethrj sethrj enabled auto-merge (squash) February 1, 2024 22:50
@sethrj sethrj disabled auto-merge February 1, 2024 23:55
@sethrj sethrj enabled auto-merge (squash) February 2, 2024 03:33
@sethrj sethrj merged commit 3ff4abc into celeritas-project:develop Feb 2, 2024
20 of 21 checks passed
@sethrj sethrj deleted the fix-failure-workflow branch February 5, 2024 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation, examples, tests, and CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants