Skip to content

Commit

Permalink
Add mark stale issues action (#31)
Browse files Browse the repository at this point in the history
* Add stale issues action

* Update stale.yml

* Update stale.yml
  • Loading branch information
z4kn4fein authored Nov 8, 2022
1 parent 05b3f7c commit 09d8e39
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Mark stale issues

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

jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/stale@v6
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is marked stale because it has no activity in the last 3 weeks. The issue will be closed in one week. Please remove the stale flag to keep it open.'
close-issue-message: 'This issue was closed due to no activity.'
days-before-issue-stale: 21
days-before-issue-close: 7
stale-issue-label: 'stale'
days-before-pr-stale: -1
days-before-pr-close: -1

0 comments on commit 09d8e39

Please sign in to comment.