Skip to content

Commit

Permalink
CI: Add stale PR action (#36336)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsaxton authored Sep 15, 2020
1 parent 74c352c commit ce7b4c0
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/stale-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Stale PRs"
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: "0 */6 * * *"

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: "This pull request is stale because it has been open for thirty days with no activity."
skip-stale-pr-message: false
stale-pr-label: "Stale"
exempt-pr-labels: "Needs Review,Blocked"
days-before-stale: 30
days-before-close: -1
remove-stale-when-updated: true
debug-only: true

0 comments on commit ce7b4c0

Please sign in to comment.