merge: re-run the check when the publisher changes
This commit is contained in:
@@ -24,6 +24,11 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
# The manifest itself changed -- re-check immediately rather than waiting a day.
|
# The manifest itself changed -- re-check immediately rather than waiting a day.
|
||||||
- "tools/compat.py"
|
- "tools/compat.py"
|
||||||
|
# ...and so did the thing that PUBLISHES the finding. This was missing, and it
|
||||||
|
# showed: the commit teaching the bot to refresh a stale report body touched only
|
||||||
|
# compat_publish.py, so no run fired, and the report stayed stale until the next
|
||||||
|
# scheduled one. A fix nobody runs is a fix nobody has.
|
||||||
|
- "tools/compat_publish.py"
|
||||||
- ".github/workflows/compat.yml"
|
- ".github/workflows/compat.yml"
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
|
|||||||
@@ -61,6 +61,11 @@ worse than no alert, because one day it carries a security fix.
|
|||||||
normalising line endings, so a forge round-tripping `\r\n` does not cause a rewrite
|
normalising line endings, so a forge round-tripping `\r\n` does not cause a rewrite
|
||||||
every run) and comments remain strictly a changelog of real changes.
|
every run) and comments remain strictly a changelog of real changes.
|
||||||
|
|
||||||
|
- **A change to the publisher did not re-run the check.** `compat.yml`'s `push:` paths
|
||||||
|
listed `tools/compat.py` but not `tools/compat_publish.py` — so the very commit that
|
||||||
|
taught the bot to refresh a stale report body triggered no run, and the report stayed
|
||||||
|
stale until the next scheduled one. A fix nobody runs is a fix nobody has.
|
||||||
|
|
||||||
- **The compatibility bot filed a new duplicate bug report on every Gitea run.**
|
- **The compatibility bot filed a new duplicate bug report on every Gitea run.**
|
||||||
`find_issue()` skipped pull requests by testing for the *presence* of the
|
`find_issue()` skipped pull requests by testing for the *presence* of the
|
||||||
`pull_request` key. GitHub omits that key on a plain issue; Gitea sends it as
|
`pull_request` key. GitHub omits that key on a plain issue; Gitea sends it as
|
||||||
|
|||||||
Reference in New Issue
Block a user