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

Sanity check for release-track branches #22

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

Conversation

gilles-peskine-arm
Copy link
Contributor

@gilles-peskine-arm gilles-peskine-arm commented Nov 29, 2021

A script that performs sanity checks on release-track branches and will yell (on stderr and by returning a nonzero status) if a branch doesn't seem to be from a PR in an appropriate repository.

As a security control, this should be fully redundant with other mechanisms such as branch protection; however it doesn't hurt to have redundant security controls. I intend this primarily as a sanity check to make sure a team member didn't accidentally push the wrong thing.

Status: usable but needs more testing (especially negative testing).

Follow-up: yell by sending an email to the team.

@gilles-peskine-arm gilles-peskine-arm added enhancement New feature or request needs: review needs: reviewer size-s Estimated task size: small (~2d) labels Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs: review needs: reviewer priority-low size-s Estimated task size: small (~2d)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants