Commit 09ebaa7
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.
Origin: #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
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>1 parent 6b552d4 commit 09ebaa7
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