Skip to content

Commit

Permalink
feat: add pr stale and close
Browse files Browse the repository at this point in the history
  • Loading branch information
tomalaforge committed Dec 6, 2023
1 parent b164792 commit 1999e2c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/close-inactive-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ jobs:
- uses: actions/stale@v5
with:
days-before-issue-stale: 20
days-before-issue-close: 14
days-before-issue-close: -1
stale-issue-label: 'stale'
stale-issue-message: 'This issue is stale because it has been open for 20 days with no activity.'
close-issue-message: 'This issue was closed because it has been inactive for 14 days since being marked as stale.'
days-before-pr-stale: -1
days-before-pr-close: -1
days-before-pr-stale: 20
days-before-pr-close: 7
stale-pr-label: 'stale'
stale-pr-message: 'This pull request is stale because it has been open for 20 days with no activity.'
close-pr-message: 'This pull request was closed because it has been inactive for 7 days since being marked as stale.'
only-pr-labels: 'answer'
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1999e2c

Please sign in to comment.