diff options
| author | DavidFair <DavidFair@users.noreply.github.com> | 2023-11-10 15:12:21 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-10 08:12:21 -0700 |
| commit | 9b5930d7d86722cc8a173db4592bdcc8792f2431 (patch) | |
| tree | b9cd01e157b445d4b2470f98bd1727578bb20d98 /.github/workflows/pull-request-stale.yaml | |
| parent | 3fd505a4543a4ee42ead01793a91e0410032321b (diff) | |
Add GH Workflow for CI Tests (#10392)
Co-authored-by: Cody Robibero <cody@robibe.ro>
Diffstat (limited to '.github/workflows/pull-request-stale.yaml')
| -rw-r--r-- | .github/workflows/pull-request-stale.yaml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/pull-request-stale.yaml b/.github/workflows/pull-request-stale.yaml new file mode 100644 index 000000000..de093a988 --- /dev/null +++ b/.github/workflows/pull-request-stale.yaml @@ -0,0 +1,30 @@ +name: Stale PR Check + +on: + schedule: + - cron: '30 */12 * * *' + workflow_dispatch: + +permissions: + pull-requests: write + actions: write + +jobs: + prs-stale-conflicts: + name: Check PRs with merge conflicts + runs-on: ubuntu-latest + if: ${{ contains(github.repository, 'jellyfin/') }} + steps: + - uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8.0.0 + with: + repo-token: ${{ secrets.JF_BOT_TOKEN }} + ascending: true + operations-per-run: 150 + # The merge conflict action will remove the label when updated + remove-stale-when-updated: false + days-before-stale: -1 + days-before-close: 90 + days-before-issue-close: -1 + stale-pr-label: merge conflict + close-pr-message: |- + This PR has been closed due to having unresolved merge conflicts. |
