Commit 69d272c
committed
test-pr-comment-delivery.js: avoid messing with Check Runs
In 64b47fb (test-pr-comment-delivery: have an explicit way to avoid
triggering runs, 2025-02-13), I modified the script so that no workflow
runs would be triggered accidentally.
The idea was to avoid changing state on github.com while debugging
webhook event deliveries on my local machine, even though information
may need to be looked up on github.com using the GitHub App credentials.
What I missed was that there are more ways to mess up said state, e.g.
by queuing Check Runs.
This actually happened to me, where an accidentally-incorrect `tag-git`
label was used when queuing the Check Run for an `upload-snapshot`
workflow run, and it overwrote the existing one, but the existing one
was very much needed to figure out which `git-artifacts` runs to use,
and it took me over an hour to reconstruct everything into a healthy
shape.
Let's prevent future mishaps like that.
Signed-off-by: Johannes Schindelin <[email protected]>1 parent aebb662 commit 69d272c
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
3 | 6 | | |
4 | 7 | | |
| |||
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
50 | 56 | | |
51 | 57 | | |
52 | 58 | | |
| |||
59 | 65 | | |
60 | 66 | | |
61 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
62 | 71 | | |
63 | 72 | | |
64 | 73 | | |
| |||
0 commit comments