Skip to content

Commit

Permalink
adding action for stale pr's
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Kellner authored and Christian Kellner committed Nov 6, 2024
1 parent 5cceae1 commit e1c45f1
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/stales.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Close stale issues and PRs"

on:
schedule:
- cron: '0 0 * * *' # Daily

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v7
with:
days-before-stale: 30
days-before-close: 7
stale-issue-message: "This issue has been automatically marked as stale due to inactivity."
stale-pr-message: "This PR has been automatically marked as stale due to inactivity."
close-issue-message: "Closing this issue due to prolonged inactivity."
close-pr-message: "Closing this PR due to prolonged inactivity."
exempt-issue-labels: "keep-open"
exempt-pr-labels: "keep-open"
only: "pulls"

0 comments on commit e1c45f1

Please sign in to comment.