ci: point workflow branch refs at master - #1
Closed
BartoszBlizniak wants to merge 1 commit into
Closed
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Updates GitHub Actions workflow branch references from main to master in preparation for an upcoming default-branch rename, affecting CI triggers and the release tag-ancestry gate.
Changes:
- Switch
push.branchestriggers in Test and Zizmor workflows tomaster. - Update the Release workflow’s “tag is on branch” verification to use
master(including its error message).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| .github/workflows/zizmor.yml | Changes the push-trigger branch filter from main to master. |
| .github/workflows/test.yml | Changes the push-trigger branch filter from main to master. |
| .github/workflows/release.yml | Updates the tag ancestry gate to fetch/verify against origin/master instead of origin/main. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
6
to
+7
| branches: | ||
| - main | ||
| - master |
Comment on lines
8
to
+9
| branches: | ||
| - main | ||
| - master |
Comment on lines
30
to
35
| set -eu | ||
| git fetch origin main --quiet | ||
| if ! git merge-base --is-ancestor "$GITHUB_SHA" origin/main; then | ||
| echo "refusing to release: $GITHUB_SHA is not an ancestor of origin/main" >&2 | ||
| git fetch origin master --quiet | ||
| if ! git merge-base --is-ancestor "$GITHUB_SHA" origin/master; then | ||
| echo "refusing to release: $GITHUB_SHA is not an ancestor of origin/master" >&2 | ||
| exit 1 | ||
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the workflow branch references from
maintomasterahead of the default-branch rename (init→master, pending org admin).test.yml/zizmor.yml: push trigger branchrelease.yml: tag-ancestry gateOpening this PR also gives the Test and Zizmor workflows their first real run via the
pull_requesttrigger.🤖 Generated with Claude Code