diff --git a/.github/stale.yml b/.github/stale.yml deleted file mode 100644 index a0c96e87..00000000 --- a/.github/stale.yml +++ /dev/null @@ -1,44 +0,0 @@ -# Configuration for probot-stale - https://github.com/probot/stale - -# Number of days of inactivity before an Issue or Pull Request becomes stale -daysUntilStale: 60 - -# Number of days of inactivity before an Issue or Pull Request with the stale label is closed. -# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale. -daysUntilClose: 7 - -# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable -exemptLabels: - - pinned - - security - - dependencies - - never-stale - - priority:high - - priority:medium - -# Label to use when marking as stale -staleLabel: stale - -# Comment to post when marking as stale. Set to `false` to disable -markComment: > - This issue has been automatically marked as stale because it has not had - recent activity. It will be closed if no further activity occurs. Thank you - for your contributions. - -# Comment to post when removing the stale label. -# unmarkComment: > -# Your comment here. - -# Comment to post when closing a stale Issue or Pull Request. -# closeComment: > -# Your comment here. - -# Limit to only `issues` or `pulls` -# only: issues - -# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls': -pulls: - markComment: > - This pull request has been automatically marked as stale because it has not had - recent activity. It will be closed if no further activity occurs. Thank you - for your contributions. diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 866c2f66..d8ab8197 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,3 +1,5 @@ +--- +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json name: Jellyseerr CI on: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index b2266728..d019b2f9 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,3 +1,5 @@ +--- +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json name: 'CodeQL' on: diff --git a/.github/workflows/conflict_labeler.yml b/.github/workflows/conflict_labeler.yml index a9c885d0..b198a24c 100644 --- a/.github/workflows/conflict_labeler.yml +++ b/.github/workflows/conflict_labeler.yml @@ -1,3 +1,5 @@ +--- +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json name: Merge Conflict Labeler on: diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 15c1566b..0baa1fa3 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -1,3 +1,5 @@ +--- +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json name: Cypress Tests on: diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml index c9fb07f1..bd54722e 100644 --- a/.github/workflows/docs-deploy.yml +++ b/.github/workflows/docs-deploy.yml @@ -1,3 +1,5 @@ +--- +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json name: Deploy to GitHub Pages on: diff --git a/.github/workflows/helm.yml b/.github/workflows/helm.yml index 914264c6..2e49b36c 100644 --- a/.github/workflows/helm.yml +++ b/.github/workflows/helm.yml @@ -1,3 +1,5 @@ +--- +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json name: Release Charts on: diff --git a/.github/workflows/lint-helm-charts.yml b/.github/workflows/lint-helm-charts.yml index 585dbb90..461158f2 100644 --- a/.github/workflows/lint-helm-charts.yml +++ b/.github/workflows/lint-helm-charts.yml @@ -1,3 +1,5 @@ +--- +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json name: Lint and Test Charts on: diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 51f3b52d..96e280e3 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -1,3 +1,5 @@ +--- +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json name: Jellyseerr Preview on: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e869f2a0..cad9f2c4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,3 +1,5 @@ +--- +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json name: Jellyseerr Release on: diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 00000000..8d940f04 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,35 @@ +--- +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json +name: Close stale issues and PRs + +on: + schedule: + - cron: '0 7 * * *' + +permissions: {} + +concurrency: + group: close-stale-${{ github.ref }} + cancel-in-progress: true + +jobs: + stale: + name: Close stale issues and PRs + runs-on: ubuntu-24.04 + permissions: + actions: write + issues: write + pull-requests: write + steps: + - uses: actions/stale@v10.1.0 + with: + any-of-labels: "pending author's response" + exempt-issue-labels: 'confirmed' + days-before-stale: 30 + days-before-close: 30 + stale-issue-label: 'stale' + stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Please provide an update or the requested information to keep it open.' + close-issue-message: 'This issue was closed because it has been stalled for 30 days with no activity. Feel free to reopen it once you provide the required update or information.' + stale-pr-label: 'stale' + stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. Please address the feedback or provide an update to keep it open.' + close-pr-message: 'This PR was closed because it has been stalled for 30 days with no activity. You can reopen it once you address the feedback or provide the requested changes.' diff --git a/.github/workflows/support.yml b/.github/workflows/support.yml index 2a351482..977d576c 100644 --- a/.github/workflows/support.yml +++ b/.github/workflows/support.yml @@ -1,3 +1,5 @@ +--- +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json name: 'Support requests' on: diff --git a/.github/workflows/test-docs-deploy.yml b/.github/workflows/test-docs-deploy.yml index 6091c38c..323bb050 100644 --- a/.github/workflows/test-docs-deploy.yml +++ b/.github/workflows/test-docs-deploy.yml @@ -1,3 +1,5 @@ +--- +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json name: Test Docs deployment on: