Skip to content

Commit

Permalink
chore(ci): specify name of "stale" label
Browse files Browse the repository at this point in the history
Saw the following error in the log:
  [#2618] Removing the label "Stale" from this issue...
  ##[error][#2618] Error when removing the label: "Label does not exist"

My theory is that the case doesn't match ("Stale" != "stale") and that
is why it failed.  Our label is "stale" so update this to match.
Thought of changing the label name on GitHub but then would also
require a change here to the "any-of-labels". So it seemed simpler to
just change it here.

It is confusing though that it detected the label "stale", but then
couldn't delete it.
  • Loading branch information
JohnVillalovos authored and nejch committed Jul 12, 2024
1 parent 2ab88b2 commit 44f62c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
steps:
- uses: actions/[email protected]
with:
stale-issue-label: "stale"
stale-pr-label: "stale"

any-of-labels: 'need info,Waiting for response,stale'
stale-issue-message: >
This issue was marked stale because it has been open 60 days with no
Expand Down

0 comments on commit 44f62c4

Please sign in to comment.