mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-14 20:17:03 +00:00
fix(ci): remove PAT dependency from release workflow checkouts
This commit is contained in:
1 parent
b2902ec5d4
commit
a259d957b1
3 files changed
+6
-6
No files matched your search
@@ -20,8 +20,8 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
# Prefer PAT when available (workflow-trigger compatibility), but never hard-fail when PAT is missing/expired.
|
||||
token: ${{ secrets.PAT_TOKEN != '' && secrets.PAT_TOKEN || github.token }}
|
||||
# Always use the built-in workflow token; PAT rotation/breakage must not block releases.
|
||||
token: ${{ github.token }}
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
|
||||
Reference in new issue
Block a user