Skip to content

Commit

Permalink
chore: add stale action (argoproj#1086)
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Wang <[email protected]>
  • Loading branch information
whynowy authored Mar 3, 2021
1 parent a97dd9a commit 5d231a4
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/stale.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: 'Close stale issues and PRs'

on:
schedule:
- cron: '21 1 * * *'

jobs:
stale:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/stale@v3'
with:
stale-issue-message: |-
This issue has been automatically marked as stale because it has not had
any activity in the last 60 days. It will be closed if no further activity
occurs. Thank you for your contributions.
stale-issue-label: 'stale'
exempt-issue-labels: 'enhancement,security,pinned'

stale-pr-message: |-
This Pull Request is stale because it has been open for 60 days with
no activity. It will be closed in 7 days if no further activity.
stale-pr-label: 'stale'

days-before-stale: 60
days-before-close: 7

0 comments on commit 5d231a4

Please sign in to comment.