aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2022-01-28 08:12:44 -0700
committerGitHub <noreply@github.com>2022-01-28 08:12:44 -0700
commitf863ca1f2d00839fd78a7655c759e25e9815483f (patch)
treed6ede84eebf90f64d49251bd845f1b0b0b14e7ef
parente5701c396a81a537a5934099d1e2d06e82b00c44 (diff)
parent614abddd64bd6091b87e844d1635662337cc6e89 (diff)
Merge pull request #7245 from h1dden-da3m0n/chore/stale-check-workflow
-rw-r--r--.github/stale.yml29
-rw-r--r--.github/workflows/repo-stale.yaml27
2 files changed, 27 insertions, 29 deletions
diff --git a/.github/stale.yml b/.github/stale.yml
deleted file mode 100644
index cba9c33b2..000000000
--- a/.github/stale.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-# Number of days of inactivity before an issue becomes stale
-daysUntilStale: 120
-# Number of days of inactivity before a stale issue is closed
-daysUntilClose: 21
-# Issues with these labels will never be considered stale
-exemptLabels:
- - regression
- - security
- - dotnet-3.0-future
- - roadmap
- - future
- - feature
- - enhancement
- - confirmed
-# Label to use when marking an issue as stale
-staleLabel: stale
-# Comment to post when marking an issue as stale. Set to `false` to disable
-markComment: >
- This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
-
- If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or nightlies, 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://docs.jellyfin.org/general/getting-help.html).
-# Comment to post when closing a stale issue. Set to `false` to disable
-closeComment: false
-
-# Disable automatic closing of pull requests
-pulls:
- daysUntilClose: false
diff --git a/.github/workflows/repo-stale.yaml b/.github/workflows/repo-stale.yaml
new file mode 100644
index 000000000..63ded4140
--- /dev/null
+++ b/.github/workflows/repo-stale.yaml
@@ -0,0 +1,27 @@
+name: Issue Stale Check
+
+on:
+ schedule:
+ - cron: '30 1 * * *'
+ workflow_dispatch:
+
+jobs:
+ stale:
+ runs-on: ubuntu-latest
+ if: ${{ contains(github.repository, 'jellyfin/') }}
+ steps:
+ - uses: actions/stale@v4.1.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
+ exempt-issue-labels: regression,security,roadmap,future,feature,enhancement,confirmed
+ stale-issue-label: stale
+ stale-issue-message: |-
+ This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
+
+ 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://docs.jellyfin.org/general/getting-help.html).