Skip to content

Commit

Permalink
Fix the GitHub stale workflow to correctly state remove the stale lab…
Browse files Browse the repository at this point in the history
…el instead of the stable label. Rename the file from stable to stale as well (#732)

Signed-off-by: Mike Ng <[email protected]>
  • Loading branch information
mikeshng authored Dec 3, 2024
1 parent 8093590 commit 17431ed
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
schedule:
- cron: '30 1 * * *' # Runs at 1:30am every day

# `stable` label will be added to issues and PRs that have been inactive for 120 days
# `stale` label will be added to issues and PRs that have been inactive for 120 days
# Close stale issues and PRs after 14 days of inactivity
permissions:
contents: read
Expand All @@ -18,7 +18,7 @@ jobs:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open for 120 days with no activity. After 14 days of inactivity, it will be closed. Remove the `stable` label to prevent this issue from being closed.'
stale-pr-message: 'This pull request is stale because it has been open for 120 days with no activity. After 14 days of inactivity, it will be closed. Remove the `stable` label to prevent this issue from being closed.'
stale-issue-message: 'This issue is stale because it has been open for 120 days with no activity. After 14 days of inactivity, it will be closed. Remove the `stale` label to prevent this issue from being closed.'
stale-pr-message: 'This pull request is stale because it has been open for 120 days with no activity. After 14 days of inactivity, it will be closed. Remove the `stale` label to prevent this issue from being closed.'
days-before-stale: 120
days-before-close: 14

0 comments on commit 17431ed

Please sign in to comment.