Commit a708c3c
authored
Fix the download-commit test to actually look for a commit (#330)
Previously, `github.event.workflow_run.head_sha` would expand to an
empty string, when the workflow isn't run due to a workflow_run
event (manually triggered or invoked by another workflow).
Use `github.sha` instead of `github.event.workflow_run.head_sha`,
for the commit hash that triggered the workflow.1 parent 19f6be5 commit a708c3c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
0 commit comments