Skip to content

Sanity check for release-track branches#22

Open
gilles-peskine-arm wants to merge 1 commit intoMbed-TLS:mainfrom
gilles-peskine-arm:monitor-branches
Open

Sanity check for release-track branches#22
gilles-peskine-arm wants to merge 1 commit intoMbed-TLS:mainfrom
gilles-peskine-arm:monitor-branches

Conversation

@gilles-peskine-arm
Copy link
Copy Markdown
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.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
@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