Skip to content

Commit 329badc

Browse files
authored
fix(ci): reusable workflow secrets param
This fixes the issue that `{{ inputs.token }}` is `null` because `token` is a secret within the workflow. Ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onworkflow_callsecrets
1 parent 523e053 commit 329badc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/export_pr_details.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
uses: actions/github-script@v6
4242
# For security, we only download artifacts tied to the successful PR recording workflow
4343
with:
44-
github-token: ${{ inputs.token }}
44+
github-token: ${{ secrets.token }}
4545
script: |
4646
const fs = require('fs');
4747

0 commit comments

Comments
 (0)