You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]>
0 commit comments