forked from slackapi/bolt-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# This workflow uses the following github action to automate | ||
# management of stale issues and prs in this repo: | ||
# https://github.com/marketplace/actions/close-stale-issues | ||
|
||
name: Close stale issues and PRs | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 0 * * 0' | ||
|
||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v4.0.0 | ||
with: | ||
days-before-issue-stale: 30 | ||
days-before-issue-close: 10 | ||
days-before-pr-stale: -1 | ||
days-before-pr-close: -1 | ||
stale-issue-label: auto-triage-stale | ||
stale-issue-message: 👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. | ||
close-issue-message: As this issue has been inactive for more than one month, we will be closing it. Thank you to all the participants! If you would like to raise a related issue, please create a new issue which includes your specific details and references this issue number. | ||
exempt-issue-labels: auto-triage-skip | ||
exempt-all-milestones: true | ||
remove-stale-when-updated: true | ||
enable-statistics: true | ||
operations-per-run: 60 |