Skip to content

Commit d2ab61e

Browse files
committed
Fix
1 parent 477f93f commit d2ab61e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/pre-commit.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,11 @@ jobs:
4343
id: wait-on-jobs
4444
continue-on-error: true
4545
with:
46-
github-token: ${{ secrets.GITHUB_TOKEN }}
4746
workflow_name: push.yml
4847
max_wait: 5
4948
interval: 30
5049
timeout: 7
51-
ref: ${{ github.event.pull_request.head.ref || github.ref }}
50+
sha: ${{ github.event.pull_request.head.sha || github.sha }}
5251
verbose: true
5352

5453
- name: Download compilation artifacts
@@ -58,7 +57,7 @@ jobs:
5857
pattern: build-job-*
5958
merge-multiple: true
6059
path: ~/.arduino/tests/
61-
run-id: ${{ env.RUNID }}
60+
run-id: ${{ steps.wait-on-jobs.outputs.run_id }}
6261
github-token: ${{ secrets.GITHUB_TOKEN }}
6362

6463
- name: Merge compile commands

0 commit comments

Comments
 (0)