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: {}