Commit 0003598
ci: skip update-tools on the bot's own synchronize pushes (#1189)
The commit-all-changes job pushes with a GitHub App installation token
so downstream workflows (notably ci.yml) re-run on the bot's commit.
That deliberate behavior also re-triggers update-tools.yml itself,
producing a loop where each run rewrites metadata.last_updated and
commits the timestamp change, which fires another synchronize event.
Guard detect-changes against pull_request synchronize events whose
sender is toolhive-release-app[bot]. Other triggers - PR opened, human
pushes, workflow_dispatch - still run as before, and ci.yml is
unaffected so the bot's commit is still validated end-to-end.
Signed-off-by: Radoslav Dimitrov <radoslav@stacklok.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 1c9ccaf commit 0003598
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
97 | 100 | | |
98 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
99 | 105 | | |
100 | 106 | | |
101 | 107 | | |
| |||
0 commit comments