build: fix auth token issue

This commit is contained in:
Mazen Touati
2026-01-24 00:22:19 +01:00
parent edd9b7be4f
commit 553caa8e02
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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 }}