diff --git a/.github/workflows/test-full-routes.yml b/.github/workflows/build-assets-test-full-routes.yml similarity index 100% rename from .github/workflows/test-full-routes.yml rename to .github/workflows/build-assets-test-full-routes.yml diff --git a/.github/workflows/build-assets.yml b/.github/workflows/build-assets.yml index 86189ecf5a..ce50031de3 100644 --- a/.github/workflows/build-assets.yml +++ b/.github/workflows/build-assets.yml @@ -10,7 +10,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-slim name: Build assets timeout-minutes: 5 permissions: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 151529abb5..f659be0903 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -27,7 +27,7 @@ jobs: # - https://gh.io/supported-runners-and-hardware-resources # - https://gh.io/using-larger-runners # Consider using larger runners for possible analysis time improvements. - runs-on: ubuntu-latest + runs-on: ubuntu-slim timeout-minutes: 10 permissions: # required for all workflows diff --git a/.github/workflows/comment-on-issue.yml b/.github/workflows/comment-on-issue.yml index 46929a4666..d60c5fdbd6 100644 --- a/.github/workflows/comment-on-issue.yml +++ b/.github/workflows/comment-on-issue.yml @@ -7,7 +7,7 @@ on: jobs: testRoute: name: Call maintainers - runs-on: ubuntu-latest + runs-on: ubuntu-slim timeout-minutes: 5 permissions: issues: write diff --git a/.github/workflows/dependabot-fork.yml b/.github/workflows/dependabot-fork.yml index 089ca9d2fe..d2a4d79a65 100644 --- a/.github/workflows/dependabot-fork.yml +++ b/.github/workflows/dependabot-fork.yml @@ -5,7 +5,7 @@ on: pull_request jobs: dependabot-fork: if: github.repository_owner != 'DIYgod' && github.actor == 'dependabot[bot]' - runs-on: ubuntu-latest + runs-on: ubuntu-slim name: Ignore dependabot on forks timeout-minutes: 5 steps: diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index 5754c12144..dae4ea1a99 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -15,7 +15,7 @@ jobs: check-env: permissions: contents: none - runs-on: ubuntu-latest + runs-on: ubuntu-slim timeout-minutes: 5 outputs: check-docker: ${{ steps.check-docker.outputs.defined }} @@ -272,7 +272,7 @@ jobs: $(printf '${{ vars.DOCKER_USERNAME }}/${{ needs.release.outputs.repo-name }}@sha256:%s ' *) description: - runs-on: ubuntu-latest + runs-on: ubuntu-slim needs: [check-env, release] if: needs.check-env.outputs.check-docker == 'true' timeout-minutes: 5 diff --git a/.github/workflows/docker-test-cont.yml b/.github/workflows/docker-test-cont.yml index f35ca8ef88..3c5a536b73 100644 --- a/.github/workflows/docker-test-cont.yml +++ b/.github/workflows/docker-test-cont.yml @@ -121,7 +121,7 @@ jobs: fail-build: name: Fail build - runs-on: ubuntu-latest + runs-on: ubuntu-slim permissions: pull-requests: write if: ${{ github.event.workflow_run.conclusion == 'failure' }} diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 30408b6698..0eb43dc212 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -10,7 +10,7 @@ jobs: permissions: contents: write # for Git to git push name: Auto format - runs-on: ubuntu-latest + runs-on: ubuntu-slim timeout-minutes: 5 steps: diff --git a/.github/workflows/ghcr-retention.yml b/.github/workflows/ghcr-retention.yml index 777b866991..fb3c7033f7 100644 --- a/.github/workflows/ghcr-retention.yml +++ b/.github/workflows/ghcr-retention.yml @@ -7,7 +7,7 @@ on: jobs: cleanup: - runs-on: ubuntu-latest + runs-on: ubuntu-slim permissions: packages: write contents: read diff --git a/.github/workflows/issue-command.yml b/.github/workflows/issue-command.yml index 0442b820a2..0fe96ccacf 100644 --- a/.github/workflows/issue-command.yml +++ b/.github/workflows/issue-command.yml @@ -8,7 +8,7 @@ jobs: rebase: name: Automatic Rebase if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase') && github.event.comment.author_association == 'COLLABORATOR' - runs-on: ubuntu-latest + runs-on: ubuntu-slim timeout-minutes: 5 permissions: contents: write @@ -26,7 +26,7 @@ jobs: self-assign: name: Self Assign if: ${{ !github.event.issue.pull_request && startsWith(github.event.comment.body, '/wip') }} - runs-on: ubuntu-latest + runs-on: ubuntu-slim timeout-minutes: 5 permissions: issues: write @@ -39,7 +39,7 @@ jobs: test-on-demand: name: Test route on demand if: startsWith(github.event.comment.body, '/test') - runs-on: ubuntu-latest + runs-on: ubuntu-slim timeout-minutes: 5 permissions: attestations: write diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index be256c58b3..68f08291eb 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,7 +15,7 @@ jobs: eslint-warning: name: Lint if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }} - runs-on: ubuntu-latest + runs-on: ubuntu-slim timeout-minutes: 5 permissions: security-events: write @@ -42,7 +42,7 @@ jobs: title-lint: if: ${{ github.event_name == 'pull_request_target' && github.repository == 'DIYgod/RSSHub' }} name: Validate PR title - runs-on: ubuntu-latest + runs-on: ubuntu-slim timeout-minutes: 5 steps: - uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1 @@ -57,7 +57,7 @@ jobs: if: ${{ github.event_name == 'pull_request_target' && github.actor != 'dependabot[bot]' && github.repository == 'DIYgod/RSSHub' }} permissions: pull-requests: write - runs-on: ubuntu-latest + runs-on: ubuntu-slim timeout-minutes: 5 steps: - uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1 diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 03e12ff488..9ed51dec94 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -17,7 +17,7 @@ jobs: build: name: npm publish if: github.repository == 'DIYgod/RSSHub' - runs-on: ubuntu-latest + runs-on: ubuntu-slim timeout-minutes: 5 env: HUSKY: 0 diff --git a/.github/workflows/similar-issues.yml b/.github/workflows/similar-issues.yml index 3a2da8eb91..7c9977d115 100644 --- a/.github/workflows/similar-issues.yml +++ b/.github/workflows/similar-issues.yml @@ -10,7 +10,7 @@ jobs: contents: read issues: write models: read - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - name: Check out repository uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 9f03d00b08..6f2e6d384a 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -10,7 +10,7 @@ permissions: jobs: stale: - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1 with: @@ -26,7 +26,7 @@ jobs: exempt-pr-labels: 'dependencies,wait for upstream' any-of-issue-labels: 'more data required' lock: - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - uses: dessant/lock-threads@7266a7ce5c1df01b1c6db85bf8cd86c737dadbe7 # v6.0.0 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4d9e60d596..a403c81825 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -136,7 +136,7 @@ jobs: automerge: if: github.triggering_actor == 'dependabot[bot]' && github.event_name == 'pull_request' needs: [vitest, puppeteer, all] - runs-on: ubuntu-latest + runs-on: ubuntu-slim permissions: pull-requests: write contents: write