Skip to content

Commit

Permalink
Add stale workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
twizmwazin committed May 18, 2022
1 parent 71044c8 commit 6b1d8db
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
with:
stale-issue-message: >
This issue has been marked as `stale` because it has no recent activity.
Please comment or add the `pinned` tag to prevent this issue from being closed.
stale-pr-message: >
This pull request has been marked as `stale` because it has no recent activity.
Please comment or add the `pinned` tag to prevent this issue from being closed.
close-issue-message: >
This issue has been closed due to inactivity.
close-pr-message: >
This issue has been closed due to inactivity.
stale-issue-label: stale
stale-pr-label: stale
exempt-issue-labels: 'pinned'
exempt-pr-labels: 'pinned'

0 comments on commit 6b1d8db

Please sign in to comment.