Skip to content

Commit 8ed2767

Browse files
committed
Use GitHub token for permissions
1 parent 865838f commit 8ed2767

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/dunedaq-develop-cpp-ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,17 @@ jobs:
227227
228228
echo "run_id=$run_id" >> "$GITHUB_OUTPUT"
229229
230+
- name: List artifacts on the target run
231+
env:
232+
GH_TOKEN: ${{ github.token }}
233+
run: |
234+
gh api repos/DUNE-DAQ/hdf5libs/actions/runs/${{ steps.latest_nightly.outputs.run_id }}/artifacts \
235+
--jq '.artifacts[] | [.name, .expired, .size_in_bytes] | @tsv'
236+
230237
- name: Download latest nightly linting results
231238
uses: actions/download-artifact@main
232239
with:
240+
github-token: ${{ github.token }}
233241
name: nightly_linting_results
234242
run-id: ${{ steps.latest_nightly.outputs.run_id }}
235243

0 commit comments

Comments
 (0)