Skip to content

Commit

Permalink
Add Stale Workflow (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
wbaldoumas authored Jul 2, 2024
1 parent abded46 commit 7c68811
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: Identify and close stale issues and pull requests

on:
schedule:
- cron: "0 0 * * 0"

jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 30
stale-issue-label: 'stale'
stale-pr-label: 'stale'
stale-issue-message: 'Automatically marking issue as stale due to lack of activity'
stale-pr-message: 'Automatically marking pull request as stale due to lack of activity'
days-before-close: 10
close-issue-message: 'Automatically closing this issue as stale'
close-pr-message: 'Automatically closing this pull request as stale'

0 comments on commit 7c68811

Please sign in to comment.