build: fix auth token issue
This commit is contained in:
2
.github/workflows/code-fix.yml
vendored
2
.github/workflows/code-fix.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
persist-credentials: false
|
||||
token: ${{ secrets.CI_TOKEN }}
|
||||
|
||||
- name: Check for changes
|
||||
id: filter
|
||||
|
||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
||||
with:
|
||||
# Use headBranchName from the PR object
|
||||
ref: ${{ fromJson(steps.release.outputs.pr).headBranchName }}
|
||||
persist-credentials: false
|
||||
token: ${{ secrets.CI_TOKEN }}
|
||||
|
||||
- name: Setup Node
|
||||
if: ${{ steps.release.outputs.pr }}
|
||||
|
||||
Reference in New Issue
Block a user