Commit 9b0d2ab
ci: checkout the correct commit SHA for workflow_run trigger
Use workflow_run.head_sha to check out the PR/push commit that
triggered the Build and Test workflow, rather than the default branch.
Falls back to github.sha for manual dispatch.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 0af0332 commit 9b0d2ab
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
0 commit comments