Skip to content

Commit a6f8e1d

Browse files
Merge pull request #2913 from VWS-Python/fix-release-ruleset-bypass
Use RELEASE_PAT to bypass ruleset in release workflow
2 parents 611bb89 + 35b3e9f commit a6f8e1d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
# Credentials need to persist for stefanzweifel/git-auto-commit-action.
3232
# zizmor: ignore[artipacked]
3333
persist-credentials: true
34+
# Use a PAT so that the push from git-auto-commit-action
35+
# can bypass repository ruleset required status checks.
36+
# The default GITHUB_TOKEN cannot bypass rulesets.
37+
token: ${{ secrets.RELEASE_PAT }}
3438

3539
- name: Install uv
3640
uses: astral-sh/setup-uv@v7

0 commit comments

Comments
 (0)