Skip to content

Commit c944f5f

Browse files
committed
fix: use PAT for auto-tagging to trigger publish workflow
GitHub Actions GITHUB_TOKEN cannot trigger other workflows. Using a Personal Access Token allows auto-created tags to trigger the publish workflow automatically.
1 parent 269aa64 commit c944f5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/auto-tag.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
uses: actions/checkout@v4
1919
with:
2020
fetch-depth: 0
21+
token: ${{ secrets.PAT_TOKEN }}
2122

2223
- name: Extract version from _version.py
2324
id: get_version

0 commit comments

Comments
 (0)