Stale Check #122
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: Stale Check | |
on: | |
schedule: | |
- cron: '30 */12 * * *' | |
workflow_dispatch: | |
permissions: | |
issues: write | |
pull-requests: write | |
actions: write | |
jobs: | |
issues: | |
name: Check for stale issues | |
runs-on: ubuntu-latest | |
if: ${{ contains(github.repository, 'jellyfin/') }} | |
steps: | |
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8.0.0 | |
with: | |
repo-token: ${{ secrets.JF_BOT_TOKEN }} | |
days-before-stale: 120 | |
days-before-pr-stale: -1 | |
days-before-close: 21 | |
days-before-pr-close: -1 | |
operations-per-run: 75 | |
exempt-issue-labels: regression,security,roadmap,future,feature,enhancement,confirmed | |
stale-issue-label: stale | |
stale-issue-message: |- | |
This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs. | |
If you have any questions you can use one of several ways to [contact us](https://jellyfin.org/contact). | |
close-issue-message: |- | |
This issue was closed due to inactivity. | |
prs-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 }} | |
operations-per-run: 75 | |
# 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. |