pull-request-stale.yaml 876 B

123456789101112131415161718192021222324252627282930
  1. name: Stale PR Check
  2. on:
  3. schedule:
  4. - cron: '30 */12 * * *'
  5. workflow_dispatch:
  6. permissions:
  7. pull-requests: write
  8. actions: write
  9. jobs:
  10. prs-stale-conflicts:
  11. name: Check PRs with merge conflicts
  12. runs-on: ubuntu-latest
  13. if: ${{ contains(github.repository, 'jellyfin/') }}
  14. steps:
  15. - uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
  16. with:
  17. repo-token: ${{ secrets.JF_BOT_TOKEN }}
  18. ascending: true
  19. operations-per-run: 150
  20. # The merge conflict action will remove the label when updated
  21. remove-stale-when-updated: false
  22. days-before-stale: -1
  23. days-before-close: 90
  24. days-before-issue-close: -1
  25. stale-pr-label: merge conflict
  26. close-pr-message: |-
  27. This PR has been closed due to having unresolved merge conflicts.