diff --git a/.github/stale.yml b/.github/stale.yml deleted file mode 100644 index a0c96e871..000000000 --- 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 866c2f661..d8ab81972 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 b2266728e..d019b2f99 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 a9c885d0f..b198a24cc 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 15c1566b8..0baa1fa3c 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 c9fb07f14..bd54722ec 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 914264c68..2e49b36cf 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 585dbb902..461158f23 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 51f3b52dd..96e280e31 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 e869f2a0d..cad9f2c45 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 000000000..8d940f04e --- /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 2a351482d..977d576c5 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 6091c38ca..323bb0504 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: