From 2f910441f75c75bae452562135160531d241807f Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Mon, 26 Jan 2026 11:00:12 -0800 Subject: [PATCH] Updates some of the workflows and jobs to use the -slim image for faster startup on easy & quick tasks --- .github/workflows/ci-docs.yml | 4 ++-- .github/workflows/ci-lint.yml | 2 +- .github/workflows/crowdin.yml | 2 +- .github/workflows/pr-bot.yml | 2 +- .github/workflows/project-actions.yml | 2 +- .github/workflows/repo-maintenance.yml | 10 +++++----- .github/workflows/translate-strings.yml | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci-docs.yml b/.github/workflows/ci-docs.yml index 4c7cf453c..1282fe036 100644 --- a/.github/workflows/ci-docs.yml +++ b/.github/workflows/ci-docs.yml @@ -23,7 +23,7 @@ env: jobs: build: name: Build Documentation - runs-on: ubuntu-24.04 + runs-on: ubuntu-slim steps: - name: Checkout uses: actions/checkout@v6 @@ -58,7 +58,7 @@ jobs: name: Deploy Documentation needs: build if: github.event_name == 'push' && github.ref == 'refs/heads/main' - runs-on: ubuntu-24.04 + runs-on: ubuntu-slim steps: - name: Checkout uses: actions/checkout@v6 diff --git a/.github/workflows/ci-lint.yml b/.github/workflows/ci-lint.yml index 91f0b0e33..e32027b6a 100644 --- a/.github/workflows/ci-lint.yml +++ b/.github/workflows/ci-lint.yml @@ -12,7 +12,7 @@ concurrency: jobs: pre-commit: name: Pre-commit Checks - runs-on: ubuntu-24.04 + runs-on: ubuntu-slim steps: - name: Checkout uses: actions/checkout@v6 diff --git a/.github/workflows/crowdin.yml b/.github/workflows/crowdin.yml index 29fb4c181..8b08af801 100644 --- a/.github/workflows/crowdin.yml +++ b/.github/workflows/crowdin.yml @@ -10,7 +10,7 @@ jobs: synchronize-with-crowdin: name: Crowdin Sync if: github.repository_owner == 'paperless-ngx' - runs-on: ubuntu-24.04 + runs-on: ubuntu-slim steps: - name: Checkout uses: actions/checkout@v6 diff --git a/.github/workflows/pr-bot.yml b/.github/workflows/pr-bot.yml index 8e3b7951d..a87bbe4f1 100644 --- a/.github/workflows/pr-bot.yml +++ b/.github/workflows/pr-bot.yml @@ -8,7 +8,7 @@ permissions: jobs: pr-bot: name: Automated PR Bot - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - name: Label PR by file path or branch name # see .github/labeler.yml for the labeler config diff --git a/.github/workflows/project-actions.yml b/.github/workflows/project-actions.yml index ed27a0255..a92da018f 100644 --- a/.github/workflows/project-actions.yml +++ b/.github/workflows/project-actions.yml @@ -12,7 +12,7 @@ permissions: jobs: pr_opened_or_reopened: name: pr_opened_or_reopened - runs-on: ubuntu-24.04 + runs-on: ubuntu-slim permissions: # write permission is required for autolabeler pull-requests: write diff --git a/.github/workflows/repo-maintenance.yml b/.github/workflows/repo-maintenance.yml index 342165476..661f2837e 100644 --- a/.github/workflows/repo-maintenance.yml +++ b/.github/workflows/repo-maintenance.yml @@ -13,7 +13,7 @@ jobs: stale: name: 'Stale' if: github.repository_owner == 'paperless-ngx' - runs-on: ubuntu-24.04 + runs-on: ubuntu-slim steps: - uses: actions/stale@v10 with: @@ -35,7 +35,7 @@ jobs: lock-threads: name: 'Lock Old Threads' if: github.repository_owner == 'paperless-ngx' - runs-on: ubuntu-24.04 + runs-on: ubuntu-slim steps: - uses: dessant/lock-threads@v6 with: @@ -55,7 +55,7 @@ jobs: close-answered-discussions: name: 'Close Answered Discussions' if: github.repository_owner == 'paperless-ngx' - runs-on: ubuntu-24.04 + runs-on: ubuntu-slim steps: - uses: actions/github-script@v8 with: @@ -112,7 +112,7 @@ jobs: close-outdated-discussions: name: 'Close Outdated Discussions' if: github.repository_owner == 'paperless-ngx' - runs-on: ubuntu-24.04 + runs-on: ubuntu-slim steps: - uses: actions/github-script@v8 with: @@ -204,7 +204,7 @@ jobs: close-unsupported-feature-requests: name: 'Close Unsupported Feature Requests' if: github.repository_owner == 'paperless-ngx' - runs-on: ubuntu-24.04 + runs-on: ubuntu-slim steps: - uses: actions/github-script@v8 with: diff --git a/.github/workflows/translate-strings.yml b/.github/workflows/translate-strings.yml index 4cf4d2b5b..46a6250af 100644 --- a/.github/workflows/translate-strings.yml +++ b/.github/workflows/translate-strings.yml @@ -6,7 +6,7 @@ on: jobs: generate-translate-strings: name: Generate Translation Strings - runs-on: ubuntu-latest + runs-on: ubuntu-slim permissions: contents: write steps: