From 1aef0dfbc82bebe9ca6847a67d76cdcb2e3d585a Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Tue, 21 Apr 2026 16:09:42 -0700 Subject: [PATCH] Use GHA ubuntu-slim where reasonable (#74899) --- .github/workflows/CI.yml | 6 +++--- .github/workflows/format-and-commit.yml | 2 +- .github/workflows/ghostbuster.yml | 2 +- .github/workflows/lint-md.yml | 2 +- .github/workflows/support-window.yml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index aecb9596a5d32e..485bcdef8e4826 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -23,7 +23,7 @@ concurrency: jobs: setup-matrix: - runs-on: ubuntu-latest + runs-on: ubuntu-slim if: github.repository == 'DefinitelyTyped/DefinitelyTyped' outputs: @@ -125,7 +125,7 @@ jobs: if: ${{ github.event_name == 'pull_request' }} dangerbot: - runs-on: ubuntu-latest + runs-on: ubuntu-slim if: github.repository == 'DefinitelyTyped/DefinitelyTyped' && github.event_name == 'pull_request' needs: @@ -158,7 +158,7 @@ jobs: DANGER_GITHUB_API_TOKEN=$TOKEN pnpm danger ci || $( exit 0 ) scripts: - runs-on: ubuntu-latest + runs-on: ubuntu-slim if: github.repository == 'DefinitelyTyped/DefinitelyTyped' steps: diff --git a/.github/workflows/format-and-commit.yml b/.github/workflows/format-and-commit.yml index 5f9dfffcd941f8..50b24e01bbeb1e 100644 --- a/.github/workflows/format-and-commit.yml +++ b/.github/workflows/format-and-commit.yml @@ -11,7 +11,7 @@ on: jobs: dprint-fmt: - runs-on: ubuntu-latest + runs-on: ubuntu-slim if: github.repository == 'DefinitelyTyped/DefinitelyTyped' steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 diff --git a/.github/workflows/ghostbuster.yml b/.github/workflows/ghostbuster.yml index 846297fcdb510e..06024331e909bb 100644 --- a/.github/workflows/ghostbuster.yml +++ b/.github/workflows/ghostbuster.yml @@ -19,7 +19,7 @@ jobs: permissions: contents: write # for Git to git push pull-requests: write # for peter-evans/create-pull-request to create a PR - runs-on: ubuntu-latest + runs-on: ubuntu-slim if: github.repository == 'DefinitelyTyped/DefinitelyTyped' steps: diff --git a/.github/workflows/lint-md.yml b/.github/workflows/lint-md.yml index d08978dff5da74..745c2f61c177c3 100644 --- a/.github/workflows/lint-md.yml +++ b/.github/workflows/lint-md.yml @@ -8,7 +8,7 @@ permissions: jobs: lint-md: - runs-on: ubuntu-latest + runs-on: ubuntu-slim if: github.repository == 'DefinitelyTyped/DefinitelyTyped' steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 diff --git a/.github/workflows/support-window.yml b/.github/workflows/support-window.yml index ac74d645e3a192..eff34b12832caa 100644 --- a/.github/workflows/support-window.yml +++ b/.github/workflows/support-window.yml @@ -21,7 +21,7 @@ jobs: permissions: contents: write # for Git to git push if: github.repository == 'DefinitelyTyped/DefinitelyTyped' - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: ./.github/actions/setup-for-scripts