explicitly use GITHUB_TOKEN for actions script

Signed-off-by: Avi Deitcher <avi@deitcher.net>
This commit is contained in:
Avi Deitcher 2024-04-28 12:58:10 +03:00
parent 38e62bb61d
commit 2578ae23c6

View File

@ -20,6 +20,7 @@ jobs:
- name: Download linuxkit - name: Download linuxkit
uses: actions/github-script@v3.1.0 uses: actions/github-script@v3.1.0
with: with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: | script: |
var artifacts = await github.actions.listWorkflowRunArtifacts({ var artifacts = await github.actions.listWorkflowRunArtifacts({
owner: context.repo.owner, owner: context.repo.owner,