diff --git a/.github/workflows/build-plugin-zip.yml b/.github/workflows/build-plugin-zip.yml index f11d2c573c9534..45763783347f2e 100644 --- a/.github/workflows/build-plugin-zip.yml +++ b/.github/workflows/build-plugin-zip.yml @@ -25,7 +25,7 @@ concurrency: jobs: compute-stable-branches: name: Compute current and next stable release branches - runs-on: ubuntu-latest + runs-on: 'ubuntu-24.04' if: ${{ github.event_name == 'workflow_dispatch' }} outputs: current_stable_branch: ${{ steps.get_branches.outputs.current_stable_branch }} @@ -50,7 +50,7 @@ jobs: bump-version: name: Bump version - runs-on: ubuntu-latest + runs-on: 'ubuntu-24.04' needs: compute-stable-branches if: | github.event_name == 'workflow_dispatch' && ( @@ -157,7 +157,7 @@ jobs: build: name: Build Release Artifact - runs-on: ubuntu-latest + runs-on: 'ubuntu-24.04' needs: bump-version if: | always() && ( @@ -217,7 +217,7 @@ jobs: revert-version-bump: name: Revert version bump if build failed needs: [bump-version, build] - runs-on: ubuntu-latest + runs-on: 'ubuntu-24.04' if: | always() && ( needs.build.outputs.job_status == 'failure' ) && @@ -262,7 +262,7 @@ jobs: create-release: name: Create Release Draft and Attach Asset needs: [bump-version, build] - runs-on: ubuntu-latest + runs-on: 'ubuntu-24.04' steps: - name: Set Release Version diff --git a/.github/workflows/bundle-size.yml b/.github/workflows/bundle-size.yml index 7bd9a788ef8174..0c396b5f0c28e5 100644 --- a/.github/workflows/bundle-size.yml +++ b/.github/workflows/bundle-size.yml @@ -34,7 +34,7 @@ concurrency: jobs: build: name: Check - runs-on: ubuntu-latest + runs-on: 'ubuntu-24.04' steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 diff --git a/.github/workflows/create-block.yml b/.github/workflows/create-block.yml index 5e15464e26e2ed..4d4329de8ac601 100644 --- a/.github/workflows/create-block.yml +++ b/.github/workflows/create-block.yml @@ -20,7 +20,7 @@ concurrency: jobs: checks: name: Checks - runs-on: ubuntu-latest + runs-on: 'ubuntu-24.04' if: ${{ github.repository == 'WordPress/gutenberg' || github.event_name == 'pull_request' }} steps: diff --git a/.github/workflows/end2end-test.yml b/.github/workflows/end2end-test.yml index a31c4530848d0e..6dba7062a71baa 100644 --- a/.github/workflows/end2end-test.yml +++ b/.github/workflows/end2end-test.yml @@ -20,7 +20,7 @@ concurrency: jobs: admin: name: Admin - ${{ matrix.part }} - runs-on: ubuntu-latest + runs-on: 'ubuntu-24.04' if: ${{ github.repository == 'WordPress/gutenberg' || github.event_name == 'pull_request' }} strategy: fail-fast: false diff --git a/.github/workflows/static-checks.yml b/.github/workflows/static-checks.yml index ce17215b36f4a9..1f9adc0ab25444 100644 --- a/.github/workflows/static-checks.yml +++ b/.github/workflows/static-checks.yml @@ -20,7 +20,7 @@ concurrency: jobs: check: name: All - runs-on: ubuntu-latest + runs-on: 'ubuntu-24.04' if: ${{ github.repository == 'WordPress/gutenberg' || github.event_name == 'pull_request' }} steps: diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 94b7bc3f44f0f3..7022d5bac5faae 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -22,7 +22,7 @@ concurrency: jobs: unit-js: name: JavaScript - runs-on: ubuntu-latest + runs-on: 'ubuntu-24.04' if: ${{ github.repository == 'WordPress/gutenberg' || github.event_name == 'pull_request' }} steps: @@ -50,7 +50,7 @@ jobs: unit-php: name: PHP - runs-on: ubuntu-latest + runs-on: 'ubuntu-24.04' if: ${{ github.repository == 'WordPress/gutenberg' || github.event_name == 'pull_request' }} steps: