Skip to content

Commit

Permalink
adding the stale action for marking stale and closing PRs non communi…
Browse files Browse the repository at this point in the history
…ty created PRs
  • Loading branch information
ouchadam committed Apr 12, 2022
1 parent 454a656 commit dbef6f6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/close-stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'Close stale issues and PRs'
on:
pull_request: { }
push:
branches: [ feature/adm/stale-prs ]

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: sonia-corporation/stale@1.54.0
with:
dry-run: true
issue-processing: false
pull-request-days-before-stale: 30
pull-request-days-before-close: 14
pull-request-stale-comment: 'PR marked as stale due to 30 days of inactivity and will be closed in 14 days if there is no further activity. Comment or commit to reset the inactivity counter'
pull-request-ignore-any-labels: |
Z-Community-PR

0 comments on commit dbef6f6

Please sign in to comment.