ci(1979): call the board-aware stale sweep instead of copying actions/stale - #131
Draft
LukasWodka wants to merge 2 commits into
Draft
ci(1979): call the board-aware stale sweep instead of copying actions/stale#131LukasWodka wants to merge 2 commits into
LukasWodka wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of the backend#1979 wave.
backend#1680closes on this landing.What changes
.github/workflows/stale-backlog.yml— a byte-identical copy of anactions/staleconfig carried in 16 repos — becomes a thin caller of the reusable that
.github#288landed, following the
-caller.ymlconvention already used byfr-gate-caller.yml,code-quality-caller.ymlandfr-pass-comment-caller.yml.Why it is not just deduplication
The copy called
actions/stale, which is column-blind: it can see labels anddates, not the board. So it would close a
North Starsepic, or anything already inthe pipeline, on the same 6-week/8-week timer as a forgotten
Backlogitem — thedefect behind backend#1597 item 1.
Board awareness needs a script, and a script cannot be maintained as sixteen
byte-identical copies. The reusable's eligibility is exactly
Backlog, and itfails toward skipping, because the destructive direction here is closing.
No inputs passed, on purpose
Every input the callee declares is defaulted (
project-number: 2,dry-run: false,strict: false,script-ref: main). A caller may only pass inputs the@maincallee declares — passing one it lacks kills the run at
startup_failure, which isexactly why the callee had to reach
mainbefore any caller could be armed.permissions: contents: readonly: the sweep's writes go through the App tokenminted inside the reusable, and asking for more here than the callee needs fails the
run at startup with no jobs.
DRAFT — and what un-drafts it
This cannot merge yet, and draft is the mechanical guarantee of that. Callers pin
@main, and.github/mainstill carries the old 1174-byte copy — the reusable is on.github/develop, 4 commits ahead. Merging this first would leave a scheduledworkflow that fails at startup every Monday.
Order, per the note carried in
repo-inventory.yml:.githubpromotesdevelop → staging → main, carrying the reusable.githubPR adds.github's own caller and flips all 17 inventoryentries from
exempttorequiredStep 3 is last for a stated reason: flipping to
requiredbefore a repo's callerlands would redden the org audit for every repo still waiting — the drift window made
to look permanent. And
.github's caller ships with the flip rather than before it,because
exemptplus a caller on the audited branch is itself a finding(
caller-drift.py:2260).🤖 Generated with Claude Code