mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-29 22:20:37 +00:00
pass GH_TOKEN to shame's gh run download step (#9087)
This commit is contained in:
6
.github/workflows/main_matrix.yml
vendored
6
.github/workflows/main_matrix.yml
vendored
@@ -265,7 +265,11 @@ jobs:
|
||||
head: ${{ github.sha }}
|
||||
- name: Download the old manifests
|
||||
if: github.event_name == 'pull_request_target'
|
||||
run: gh run download -R ${{ github.repository }} --name manifests-${{ env.MERGE_BASE }} --dir manifest-old/
|
||||
run: gh run download -R "$repo" --name "manifests-$merge_base" --dir manifest-old/
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
merge_base: ${{ env.MERGE_BASE }}
|
||||
repo: ${{ github.repository }}
|
||||
- name: Do scan and post comment
|
||||
if: github.event_name == 'pull_request_target'
|
||||
run: python3 bin/shame.py ${{ github.event.pull_request.number }} manifests-old/ manifests-new/
|
||||
|
||||
Reference in New Issue
Block a user