1
1
mirror of https://github.com/primer/css.git synced 2024-12-30 17:45:51 +03:00

Merge pull request #1425 from primer/stale

Stalebot to close stale PR/Issues
This commit is contained in:
Jon Rohan 2021-05-26 10:14:38 -07:00 committed by GitHub
commit 71dc139d3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

27
.github/workflows/stale.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: Stale
on:
schedule:
- cron: '30 1 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
# General settings
days-before-stale: 60
days-before-close: 7
enable-statistics: true
operations-per-run: 100
remove-stale-when-updated: true
# PR specific settings
delete-branch: true
stale-pr-message: "Hi! This pull request has been marked as stale because it has been open with no activity for 60 days. You can comment on the pull request or remove the stale label to keep it open. If you do nothing, this pull request will be closed in 7 days."
# Issue specific settings
days-before-issue-stale: 180
stale-issue-message: "Hi! This issue has been marked as stale because it has been open with no activity for 180 days. You can comment on the issue or remove the stale label to keep it open. If you do nothing, this issue will be closed in 7 days."