Skip to content

Commit

Permalink
Stale action re-configure (still just debug mode) (#21783)
Browse files Browse the repository at this point in the history
* Remove old stale bot yaml file

* Remove slack svg file (unused)

* Stale action: Only apply stale label, and no other actions

Respecting the opinion on
fa9ac6e,
it seems reasonable to disable commenting feature, and just keep the
action only applying the `stale` label. This will reduce the noise /
email spams / ping pong fight with the stale bot (Action)
  • Loading branch information
junwoo091400 committed Jun 30, 2023
1 parent 46b09ac commit 3557644
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 47 deletions.
24 changes: 0 additions & 24 deletions .github/slack.svg

This file was deleted.

15 changes: 0 additions & 15 deletions .github/stale.yml

This file was deleted.

15 changes: 7 additions & 8 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Close stale issues and PRs'
name: 'Handle stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'
Expand All @@ -9,12 +9,11 @@ jobs:
steps:
- uses: actions/stale@v4.1.1
with:
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
stale-pr-message: 'This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.'
close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.'
close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity.'
days-before-issue-stale: 30
days-before-pr-stale: 45
days-before-issue-close: 5
days-before-pr-close: 10
stale-issue-label: 'stale'

days-before-pr-stale: 30
stale-pr-label: 'stale'

remove-stale-when-updated: true
debug-only: true

0 comments on commit 3557644

Please sign in to comment.