Skip to content

Commit

Permalink
Merge pull request #32 from woltapp/stale-automation
Browse files Browse the repository at this point in the history
Automation to mark PRs and issues as stale
  • Loading branch information
ulusoyca authored Aug 7, 2023
2 parents 9042e56 + a0a685d commit 001e9ec
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 and pull requests

on:
schedule:
- cron: '30 7 * * 1-5'

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

steps:
- uses: actions/stale@v8
with:
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove "Stale" label or comment or this will be closed in 7 days.'
stale-pr-message: 'This Pull request is stale because it has been open 30 days with no activity. Remove "Stale" label or comment or this will be closed in 7 days.'
stale-issue-label: 'Stale'
stale-pr-label: 'Stale'
days-before-stale: 30
days-before-close: 7

0 comments on commit 001e9ec

Please sign in to comment.