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

WIP: Add branch protection to 'main' #1053

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ChrisBAshton
Copy link
Contributor

@ChrisBAshton ChrisBAshton commented Dec 27, 2023

WIP: automatically mark each of the "CI" workflow jobs as "required". Comes with complexities around inconsistent jobs and names across different repositories.

Alternatively, we could explore other approaches, such as automatically triggering a workflow that reports on the overall outcome of the 'CI' workflow - we could then simply mark this 'meta' workflow as "required". But this comes with its own complexities (exporting the triggering commit sha from the CI workflow, passing it to the meta workflow, and then having the meta workflow use the GitHub API to create a status check associated with that sha).

Trello: https://trello.com/c/mojlsebq/3074-kill-off-govuk-saas-config

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

Successfully merging this pull request may close these issues.

None yet

1 participant