Skip to content

Commit

Permalink
Update GitHub stale action to auto close old PRs (apache#7952)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryancall authored Jun 18, 2021
1 parent a37fe58 commit e492bd3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Mark stale issues and pull requests

# Documentation
# https://github.com/marketplace/actions/close-stale-issues

on:
push:
paths:
Expand All @@ -9,9 +12,7 @@ on:

jobs:
stale:

runs-on: ubuntu-latest

steps:
- uses: actions/stale@v3
with:
Expand All @@ -20,8 +21,10 @@ jobs:
stale-pr-message: 'This pull request has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.'
stale-issue-label: 'Stale'
stale-pr-label: 'Stale'
exempt-issue-labels: 'In Progress'
exempt-pr-labels: 'In Progress'
days-before-pr-stale: 90
days-before-issue-stale: 365
days-before-pr-close: -1
days-before-pr-close: 7
days-before-issue-close: -1
debug-only: true
debug-only: false

0 comments on commit e492bd3

Please sign in to comment.