From 311be13f951a203bc1b5702d984811a1bd3c1bfe Mon Sep 17 00:00:00 2001 From: Bartosz Sekula Date: Thu, 1 Feb 2024 14:52:46 +0100 Subject: [PATCH] [AAE-20016] ADF CVE-2024-21626 - update to GHA to use ubuntu-latest (#9297) --- .github/workflows/git-tag.yml | 2 +- .github/workflows/pull-request.yml | 16 ++++++++-------- .github/workflows/release-branch.yml | 6 +++--- .github/workflows/release.yml | 10 +++++----- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/git-tag.yml b/.github/workflows/git-tag.yml index 1fb90171b27..2f682a6aa5e 100644 --- a/.github/workflows/git-tag.yml +++ b/.github/workflows/git-tag.yml @@ -91,7 +91,7 @@ jobs: needs: release timeout-minutes: 20 name: "Release tag" - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest env: GITHUB_TOKEN: $BOT_GITHUB_TOKEN steps: diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 619c0f4d687..4bf433f8b01 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -95,7 +95,7 @@ env: jobs: pre-checks: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 @@ -113,7 +113,7 @@ jobs: fi check-if-pr-is-approved: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 @@ -195,7 +195,7 @@ jobs: # long timeout required when cache has to be recreated timeout-minutes: 30 name: "Setup" - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest needs: [check-if-pr-is-approved, pre-checks] steps: - name: Checkout repository @@ -214,7 +214,7 @@ jobs: unit-tests: timeout-minutes: 30 name: "Unit tests: ${{ matrix.unit-tests.name }}" - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest needs: [setup] strategy: fail-fast: false @@ -248,7 +248,7 @@ jobs: # long timeout required when cache has to be recreated timeout-minutes: 30 name: "Lint" - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest needs: [setup] steps: - name: Checkout repository @@ -263,7 +263,7 @@ jobs: # long timeout required when cache has to be recreated timeout-minutes: 30 name: "Build libs" - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest needs: [setup] steps: - name: Checkout repository @@ -281,7 +281,7 @@ jobs: timeout-minutes: 20 name: "e2e: storybook" needs: [build-libs, lint, unit-tests] - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 @@ -300,7 +300,7 @@ jobs: timeout-minutes: 90 name: "e2e: ${{ matrix.e2e-test.description }}" needs: [build-libs, lint, unit-tests] - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest strategy: fail-fast: false # max-parallel: 4 diff --git a/.github/workflows/release-branch.yml b/.github/workflows/release-branch.yml index c98bb03b445..5489cd8e693 100644 --- a/.github/workflows/release-branch.yml +++ b/.github/workflows/release-branch.yml @@ -78,7 +78,7 @@ jobs: setup: timeout-minutes: 20 name: "Setup" - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: set TAG_NPM BRANCH shell: bash @@ -104,7 +104,7 @@ jobs: release-npm: needs: [setup] timeout-minutes: 30 - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest permissions: contents: read packages: write @@ -150,7 +150,7 @@ jobs: npm-check-bundle: needs: [release-npm] timeout-minutes: 15 - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 11b335475b1..75c14efbbcc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -85,7 +85,7 @@ jobs: timeout-minutes: 20 if: github.event.pull_request.merged == true || github.ref_name == 'master' || github.ref_name == 'master-patch-*' name: "Setup" - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 @@ -106,7 +106,7 @@ jobs: needs: [setup] timeout-minutes: 15 if: github.event.pull_request.merged == true || github.ref_name == 'master' || github.ref_name == 'master-patch-*' - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 @@ -132,7 +132,7 @@ jobs: needs: [setup] timeout-minutes: 15 if: github.event.pull_request.merged == true || github.ref_name == 'master' || github.ref_name == 'master-patch-*' - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 @@ -159,7 +159,7 @@ jobs: needs: [setup] timeout-minutes: 30 if: github.event.pull_request.merged == true || github.ref_name == 'master' || github.ref_name == 'master-patch-*' - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest permissions: contents: read packages: write @@ -206,7 +206,7 @@ jobs: needs: [release-npm] timeout-minutes: 15 if: github.event.pull_request.merged == true || github.ref_name == 'master' || github.ref_name == 'master-patch-*' - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1