Close stale Pull Requests #763
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Close stale Pull Requests" | |
on: | |
schedule: | |
- cron: "30 1 * * *" | |
jobs: | |
stale: | |
if: github.repository == 'jellyfin/jellyfin-roku' | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9 | |
with: | |
days-before-issue-stale: -1 | |
days-before-issue-close: -1 | |
stale-pr-label: stale | |
stale-pr-message: "This pull request has been inactive for 30 days and will be automatically closed in 15 days if there is no further activity." | |
close-pr-message: "This pull request has been closed because it has been inactive for 45 days. You may submit a new pull request if desired." | |
days-before-pr-stale: 30 | |
days-before-pr-close: 15 | |
exempt-draft-pr: true | |
repo-token: ${{ secrets.JF_BOT_TOKEN }} |