fix(ci): remove PAT dependency from release workflow checkouts

This commit is contained in:
Tam Nhu Tran
2026-03-02 21:44:16 +07:00
parent b2902ec5d4
commit a259d957b1
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -20,8 +20,8 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
# Prefer PAT when available, but fall back to built-in token to avoid hard dependency on PAT rotation.
token: ${{ secrets.PAT_TOKEN != '' && secrets.PAT_TOKEN || github.token }}
# Always use built-in workflow token so PAT rotation never breaks sync jobs.
token: ${{ github.token }}
- name: Configure Git
run: |