Commit b6789cb
committed
ci: github: Propagate test run outcome to commit status
The change allows to block failed PRs.
I noticed something to improve is that the change can be mergeable
until the test finish, this can be prevented by setting the commit to failed
in build workflow and then marked as successful after test workflow.
This sound a bit hackish, let me search for a better (KISS) solution.
(cherry picked from commit 09ebaa7)
Origin: SiliconLabsSoftware#102
Relate-to: https://github.com/actions/github-script
Relate-to: https://octokit.github.io/rest.js/v21/#repos
Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#22
Forwarded: SiliconLabsSoftware/z-wave-engine-application-layer#43
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>1 parent 2aade3b commit b6789cb
1 file changed
+21
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
| 63 | + | |
60 | 64 | | |
61 | 65 | | |
62 | 66 | | |
| |||
67 | 71 | | |
68 | 72 | | |
69 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
0 commit comments