Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/hooks/tests/pre-push.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,9 @@ for branch in fix/2-fix-a-thing hotfix/3-urgent chore/tidy-up chore/upgrade-net1
expect "pushing a $branch branch runs the gates" allowed tests-ran
done

# A chore/ slug starts with a letter, so it can't pass for an issue-linked name.
for branch in squad/4-old-style sprint/5-old-style feature/no-issue fix/no-issue hotfix/no-issue chore/7-Upper chore/7-cleanup; do
# Slugs are lowercase, and a chore/ slug starts with a letter, so it can't pass
# for an issue-linked name.
for branch in squad/4-old-style sprint/5-old-style feature/no-issue fix/no-issue hotfix/no-issue feature/9-Upper chore/tidy-Up chore/7-cleanup; do
run_hook feature/1-x "HEAD $SHA refs/heads/$branch $ZERO"
expect "pushing to $branch is refused" refused tests-skipped "Branch name '$branch' does not match"
done
Expand Down
Loading