From 06296c9ee5051ae0d9759a0a89fe346c6b5c6462 Mon Sep 17 00:00:00 2001 From: Bartosz Blizniak Date: Tue, 7 Jul 2026 11:21:31 +0100 Subject: [PATCH] ci: point workflow branch refs at master Co-Authored-By: Claude Fable 5 --- .github/workflows/release.yml | 8 ++++---- .github/workflows/test.yml | 2 +- .github/workflows/zizmor.yml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 185348c..eb330e6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,12 +25,12 @@ jobs: fetch-depth: 0 persist-credentials: false - - name: Verify tag is on main + - name: Verify tag is on master run: | 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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d8bfca8..8153273 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,7 @@ on: pull_request: push: branches: - - main + - master permissions: contents: read diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml index c8423c6..73e4427 100644 --- a/.github/workflows/zizmor.yml +++ b/.github/workflows/zizmor.yml @@ -6,7 +6,7 @@ on: - ".github/workflows/**" push: branches: - - main + - master paths: - ".github/workflows/**" workflow_dispatch: {}