headroom/.github
Parideboy 738f984d33 ci(pr-health): keep a failed base-file comparison from clearing the rebase label
The base-file comparison fell back to `[]` when the API call failed, so
`drift_state()` saw a positive `behind_by` with no moved files, found no
overlap and returned `current`. The label step then removed
`status: needs rebase` from a pull request that was genuinely stale, which
contradicts the fail-safe behaviour the first comparison already has. The
same hole existed when the first comparison answered without a merge base.

The workflow now sets an empty-string sentinel before the call and resets to
it when the call fails, so partial output from a call that died midway is
discarded too. `parse_base_files()` maps that sentinel (and any unusable
payload) to `None`, and `drift_state()` returns `unknown` when the branch is
behind but the comparison never answered, which neither adds nor removes the
label. A successful comparison that returns no files still classifies as
`current`.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-27 17:29:49 +02:00
..
act feat: add deterministic runtime rollout controls (#1490) 2026-08-12 23:16:54 -05:00
actions/headroom-e2e-setup fix(windows): pin UTF-8 encoding on text-mode subprocess calls (#1311) 2026-06-23 12:52:49 -05:00
ISSUE_TEMPLATE docs: fix dead contact links in issue templates and troubleshooting guide (#910) 2026-06-12 14:47:10 -07:00
plugin chore: release 0.36.5 (#3214) 2026-08-22 16:22:48 -07:00
pr-images fix(install): consolidate Windows fallback and cleanup safety (#2980) 2026-08-13 15:05:45 -05:00
scripts ci(pr-health): keep a failed base-file comparison from clearing the rebase label 2026-08-27 17:29:49 +02:00
workflows ci(pr-health): keep a failed base-file comparison from clearing the rebase label 2026-08-27 17:29:49 +02:00
CODEOWNERS chore: add CODEOWNERS with maintainer catch-all (#1622) 2026-06-30 21:52:29 -07:00
copilot-instructions.md Fix CI lint failure by formatting PR governance scripts (#933) 2026-06-12 17:11:39 -05:00
dependabot.yml deps: update mcp requirement from <2.0.0,>=1.28.1 to >=1.28.1,<3.0.0 (#3144) 2026-08-20 20:58:06 -05:00
PULL_REQUEST_TEMPLATE.md feat: add deterministic runtime rollout controls (#1490) 2026-08-12 23:16:54 -05:00