Skip to content

Commit

Permalink
Add stale bot workflow (#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopgrassi authored Jan 24, 2024
1 parent dd41eac commit 3f30d41
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/stale-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "Close stale spull requests"
on:
schedule:
- cron: "12 3 * * *" # arbitrary time not to DDOS GitHub

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: 'This PR was marked stale due to lack of activity. It will be closed in 7 days.'
close-pr-message: 'Closed as inactive. Feel free to reopen if this PR is still being worked on.'
exempt-pr-labels: 'release:after-ga'
days-before-stale: 15
days-before-close: 7

0 comments on commit 3f30d41

Please sign in to comment.