Skip to content

Commit bada255

Browse files
authored
Move all workflow runners to ubuntu-latest (#57506)
1 parent 701dddd commit bada255

21 files changed

+22
-25
lines changed

.github/workflows/article-api-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ permissions:
1818

1919
jobs:
2020
check-content-linter-rules-docs:
21-
runs-on: ${{ fromJSON('["ubuntu-latest", "ubuntu-20.04-xl"]')[github.repository == 'github/docs-internal'] }}
21+
runs-on: ubuntu-latest
2222
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
2323
steps:
2424
- name: Checkout

.github/workflows/content-lint-markdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ permissions:
2020
jobs:
2121
lint-content:
2222
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
23-
runs-on: ${{ fromJSON('["ubuntu-latest", "ubuntu-20.04-xl"]')[github.repository == 'github/docs-internal'] }}
23+
runs-on: ubuntu-latest
2424
steps:
2525
- name: Check out repo
2626
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

.github/workflows/content-linter-rules-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ permissions:
2121

2222
jobs:
2323
check-content-linter-rules-docs:
24-
runs-on: ${{ fromJSON('["ubuntu-latest", "ubuntu-20.04-xl"]')[github.repository == 'github/docs-internal'] }}
24+
runs-on: ubuntu-latest
2525
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
2626
steps:
2727
- name: Checkout

.github/workflows/count-translation-corruptions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ permissions:
2121
jobs:
2222
count-translation-corruptions:
2323
if: github.repository == 'github/docs-internal'
24-
runs-on: ubuntu-20.04-xl
24+
runs-on: ubuntu-latest
2525
steps:
2626
- name: Checkout English repo
2727
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

.github/workflows/generate-code-scanning-query-lists.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ permissions:
2929
jobs:
3030
generate-query-lists:
3131
if: github.repository == 'github/docs-internal'
32-
runs-on: ubuntu-20.04-xl
32+
runs-on: ubuntu-latest
3333
steps:
3434
- name: Checkout repository code
3535
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

.github/workflows/headless-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ env:
2525
jobs:
2626
playwright-tests:
2727
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
28-
runs-on: ${{ fromJSON('["ubuntu-latest", "ubuntu-20.04-xl"]')[github.repository == 'github/docs-internal'] }}
28+
runs-on: ubuntu-latest
2929
strategy:
3030
# When we're comfortable a11y tests aren't generating false positives and helping,
3131
# let's remove the matrix and just run playwright in a single job.

.github/workflows/index-autocomplete-search.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ permissions:
2020
jobs:
2121
index-autocomplete-elasticsearch:
2222
if: ${{ github.repository == 'github/docs-internal' }}
23-
runs-on: ubuntu-20.04-xl
23+
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout
2626
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

.github/workflows/index-general-search-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ env:
3333

3434
jobs:
3535
dryRunElasticsearchIndexes:
36-
runs-on: ubuntu-20.04-xl
36+
runs-on: ubuntu-latest
3737
if: github.repository == 'github/docs-internal'
3838
steps:
3939
- name: Check out repo

.github/workflows/index-general-search.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
needs: figureOutMatrix
9999
name: Update indexes
100100
if: ${{ github.repository == 'github/docs-internal' && needs.figureOutMatrix.outputs.matrix != '[]' }}
101-
runs-on: ubuntu-20.04-xl
101+
runs-on: ubuntu-latest
102102
strategy:
103103
fail-fast: false
104104
# When it's only English (i.e. a simple array of ['en']), this value

.github/workflows/keep-caches-warm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ permissions:
2626
jobs:
2727
keep-caches-warm:
2828
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
29-
runs-on: ${{ fromJSON('["ubuntu-latest", "ubuntu-20.04-xl"]')[github.repository == 'github/docs-internal'] }}
29+
runs-on: ubuntu-latest
3030
steps:
3131
- name: Check out repo
3232
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

0 commit comments

Comments
 (0)