mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Combine stale issue and PR workflow
This commit is contained in:
parent
1e59e692b9
commit
0f65b7fe19
1 changed files with 7 additions and 18 deletions
25
.github/workflows/schedule.yml
vendored
25
.github/workflows/schedule.yml
vendored
|
@ -10,7 +10,7 @@ permissions:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
issues:
|
issues:
|
||||||
name: Check issues
|
name: Check stale issues and PRs
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ contains(github.repository, 'jellyfin/') }}
|
if: ${{ contains(github.repository, 'jellyfin/') }}
|
||||||
steps:
|
steps:
|
||||||
|
@ -18,10 +18,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.JF_BOT_TOKEN }}
|
repo-token: ${{ secrets.JF_BOT_TOKEN }}
|
||||||
operations-per-run: 75
|
operations-per-run: 75
|
||||||
|
# Issues receive a stale warning after 120 days and close after an additional 21 days
|
||||||
days-before-stale: 120
|
days-before-stale: 120
|
||||||
days-before-pr-stale: -1
|
|
||||||
days-before-close: 21
|
days-before-close: 21
|
||||||
days-before-pr-close: -1
|
|
||||||
exempt-issue-labels: regression,security,roadmap,future,feature,enhancement,confirmed
|
exempt-issue-labels: regression,security,roadmap,future,feature,enhancement,confirmed
|
||||||
stale-issue-label: stale
|
stale-issue-label: stale
|
||||||
stale-issue-message: |-
|
stale-issue-message: |-
|
||||||
|
@ -30,21 +29,11 @@ jobs:
|
||||||
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
|
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
|
||||||
|
|
||||||
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on [Matrix or Social Media](https://jellyfin.org/contact).
|
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on [Matrix or Social Media](https://jellyfin.org/contact).
|
||||||
|
# PRs are closed after having unresolved merge conflicts for 90 days
|
||||||
prs-conflicts:
|
days-before-pr-stale: -1
|
||||||
name: Check PRs with merge conflicts
|
days-before-pr-close: 90
|
||||||
runs-on: ubuntu-latest
|
|
||||||
if: ${{ contains(github.repository, 'jellyfin/') }}
|
|
||||||
steps:
|
|
||||||
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.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
|
stale-pr-label: merge conflict
|
||||||
|
# The merge conflict action will remove the label when updated
|
||||||
|
remove-pr-stale-when-updated: false
|
||||||
close-pr-message: |-
|
close-pr-message: |-
|
||||||
This PR has been closed due to having unresolved merge conflicts.
|
This PR has been closed due to having unresolved merge conflicts.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue