Skip to content

Commit 0076e9f

Browse files
committed
ci: github: Fix change status of head of failed run
Currently it touched the commit of the workflow (head of main) It was tested with related PR: Origin: #106 Relate-to: rzr#4 Relate-to: #67 Relate-to: https://github.com/SiliconLabsSoftware/z-wave-protocol-controller/settings/actions Signed-off-by: Philippe Coval <[email protected]>
1 parent 7a2957c commit 0076e9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
await github.rest.repos.createCommitStatus({
9292
owner: context.repo.owner,
9393
repo: context.repo.repo,
94-
sha: context.sha,
94+
sha: process.env.sha,
9595
state: process.env.status
9696
})
9797
process.exit(process.env.status == 'success' ? 0 : 1);

0 commit comments

Comments
 (0)