From 21a5f1d7e156006f78cd418b6e403881f0915340 Mon Sep 17 00:00:00 2001 From: kyleecodes Date: Sun, 19 Jan 2025 16:58:16 -0500 Subject: [PATCH] Actions: replace ubuntu-latest with supported runner --- .github/workflows/build-and-test-prs.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/community-issue-comment.yml | 4 ++-- .github/workflows/community-slackpost-repo-activity.yml | 2 +- .github/workflows/community-stale-management.yml | 2 +- .github/workflows/create-release-pr.yml | 2 +- .github/workflows/cypress-release-test.yml | 4 ++-- .github/workflows/cypress-test.yml | 4 ++-- .github/workflows/dependabot-pr-review.yml | 2 +- .github/workflows/lighthouse-performance.yml | 6 +++--- .github/workflows/newrelic-release-tracking.yml | 2 +- 11 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build-and-test-prs.yml b/.github/workflows/build-and-test-prs.yml index 3e35d0ac3..be4f5ce8c 100644 --- a/.github/workflows/build-and-test-prs.yml +++ b/.github/workflows/build-and-test-prs.yml @@ -8,7 +8,7 @@ on: jobs: build-and-test: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout code uses: actions/checkout@v4 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 3db4a1efb..41e3c3665 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -22,7 +22,7 @@ on: jobs: analyze: name: Analyze - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: actions: read contents: read diff --git a/.github/workflows/community-issue-comment.yml b/.github/workflows/community-issue-comment.yml index f21d2dd4b..35b1f6b67 100644 --- a/.github/workflows/community-issue-comment.yml +++ b/.github/workflows/community-issue-comment.yml @@ -24,7 +24,7 @@ jobs: # Returns: Posts comment tagging assignee and helpful message assigned-comment: if: github.event.action == 'assigned' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Post assignee issue comment id: assigned-comment @@ -52,7 +52,7 @@ jobs: # Returns: Posts warning comment tagging assignee stale-label-comment: if: ${{ github.event.action == 'labeled' && github.event.label.name == 'stale' }} - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Post stale issue comment id: stale-label-comment diff --git a/.github/workflows/community-slackpost-repo-activity.yml b/.github/workflows/community-slackpost-repo-activity.yml index 8d3266a68..3df5660a8 100644 --- a/.github/workflows/community-slackpost-repo-activity.yml +++ b/.github/workflows/community-slackpost-repo-activity.yml @@ -14,7 +14,7 @@ on: jobs: gather-gh-activity: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout repository uses: actions/checkout@v4 # https://github.com/actions/checkout diff --git a/.github/workflows/community-stale-management.yml b/.github/workflows/community-stale-management.yml index 4cf7c2aae..1d978d3ad 100644 --- a/.github/workflows/community-stale-management.yml +++ b/.github/workflows/community-stale-management.yml @@ -18,7 +18,7 @@ jobs: # PRs: automated closing after 1 more week of inactivity # Issues: requires manual closing by maintainers stale: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: issues: write pull-requests: write diff --git a/.github/workflows/create-release-pr.yml b/.github/workflows/create-release-pr.yml index bb9ed9922..314342bf8 100644 --- a/.github/workflows/create-release-pr.yml +++ b/.github/workflows/create-release-pr.yml @@ -7,7 +7,7 @@ on: jobs: create-pr-to-main: name: Create release PR to main - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Create Pull Request uses: actions/github-script@v7 diff --git a/.github/workflows/cypress-release-test.yml b/.github/workflows/cypress-release-test.yml index 23a17c741..bb8ea2537 100644 --- a/.github/workflows/cypress-release-test.yml +++ b/.github/workflows/cypress-release-test.yml @@ -9,7 +9,7 @@ jobs: # wait for new deployment to complete before running tests wait-for-vercel-deployment: name: Wait for vercel deployment - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 outputs: preview_url: ${{ steps.waitForVercelDeployment.outputs.url }} steps: @@ -24,7 +24,7 @@ jobs: cypress-run: name: Cypress e2e tests needs: wait-for-vercel-deployment - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: # when one test fails, DO NOT cancel the other # containers, because this will kill Cypress processes diff --git a/.github/workflows/cypress-test.yml b/.github/workflows/cypress-test.yml index 59599e2ef..3d36a8ffe 100644 --- a/.github/workflows/cypress-test.yml +++ b/.github/workflows/cypress-test.yml @@ -11,7 +11,7 @@ on: jobs: build: name: Build - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - name: Get yarn cache directory path @@ -47,7 +47,7 @@ jobs: cypress-run: name: Cypress e2e tests needs: build - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: # when one test fails, DO NOT cancel the other # containers, because this will kill Cypress processes diff --git a/.github/workflows/dependabot-pr-review.yml b/.github/workflows/dependabot-pr-review.yml index 0345750a4..7dd7783f2 100644 --- a/.github/workflows/dependabot-pr-review.yml +++ b/.github/workflows/dependabot-pr-review.yml @@ -11,7 +11,7 @@ permissions: jobs: dependency-review: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: 'Checkout Repository' uses: actions/checkout@v4 diff --git a/.github/workflows/lighthouse-performance.yml b/.github/workflows/lighthouse-performance.yml index a165b71b4..633eee5da 100644 --- a/.github/workflows/lighthouse-performance.yml +++ b/.github/workflows/lighthouse-performance.yml @@ -11,7 +11,7 @@ jobs: # assume the develop branch has also completed deploying wait-for-vercel-deployment: name: Wait for vercel deployment - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Wait for Vercel preview deployment to be ready uses: patrickedqvist/wait-for-vercel-preview@v1.3.2 @@ -22,7 +22,7 @@ jobs: check_interval: 5 lighthouse-desktop: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 needs: wait-for-vercel-deployment steps: - uses: actions/checkout@v4 @@ -50,7 +50,7 @@ jobs: path: ${{ steps.lighthouseDesktop.outputs.resultsPath }} lighthouse-mobile: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 needs: wait-for-vercel-deployment steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/newrelic-release-tracking.yml b/.github/workflows/newrelic-release-tracking.yml index fa96d9a87..2fdd94764 100644 --- a/.github/workflows/newrelic-release-tracking.yml +++ b/.github/workflows/newrelic-release-tracking.yml @@ -6,7 +6,7 @@ on: jobs: newrelic: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 name: New Relic Release Tracking steps: # This step builds a var with the release tag value to use later