Skip to content

Commit fa81da8

Browse files
committed
docs(ci): say that idleDays throttles a reopen too, not only an escalation
1 parent 22b3af1 commit fa81da8

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎.github/scripts/openspec-tracking.cjs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@
7272
* `claims` may be supplied directly instead of `pulls` when the caller has
7373
* already reduced them, and an issue may carry `change` directly instead of a
7474
* `body` to parse. `idleDays` is how long the issue has gone without activity,
75-
* and throttles sweep escalations to at most one per window.
75+
* and throttles every sweep report on an existing issue, both an escalation
76+
* comment and a reopen, to at most one per window.
7677
*
7778
* Always exits zero on a well-formed input. A malformed input is a defect in
7879
* the caller and exits non-zero, which is the one case where silence would hide

‎.github/workflows/openspec-sweep.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ jobs:
145145
# element from the array instead of erroring, so a body that stopped
146146
# matching would read as "no issue exists" and open a duplicate.
147147
#
148-
# `idleDays` throttles escalation to at most one comment per window.
148+
# `idleDays` throttles every sweep report on an existing issue, both
149+
# an escalation comment and a reopen, to at most one per window.
149150
issues=$(gh issue list --repo "$REPO" --state all --label "$LABEL" --limit 100 \
150151
--json number,state,body,updatedAt \
151152
| jq -c --argjson now "$(date +%s)" \

0 commit comments

Comments
 (0)