Skip to content

Commit a5024f9

Browse files
authored
Use configurable runner image in GitHub workflows (#1962)
1 parent 3e23806 commit a5024f9

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ concurrency:
1010
jobs:
1111
autofix:
1212
timeout-minutes: 10
13-
runs-on: ubuntu-latest
13+
runs-on: ${{ vars.RUNNER_IMAGE || 'ubuntu-latest' }}
1414
steps:
1515
- name: Checkout Code 🛎
1616
uses: actions/checkout@v4

.github/workflows/close-conflicted-prs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: Close Old Conflicted PRs
22

33
on:
44
schedule:
5-
- cron: "0 0 * * *"
5+
- cron: '0 0 * * *'
66

77
jobs:
88
close_conflicted_prs:
9-
runs-on: ubuntu-latest
9+
runs-on: ${{ vars.RUNNER_IMAGE || 'ubuntu-latest' }}
1010
permissions:
1111
pull-requests: write
1212
steps:

.github/workflows/close-stale-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
stale:
9-
runs-on: ubuntu-latest
9+
runs-on: ${{ vars.RUNNER_IMAGE || 'ubuntu-latest' }}
1010
permissions:
1111
issues: write
1212
contents: read

.github/workflows/deploy-to-prod-command.yml

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

1212
jobs:
1313
deploy-to-production:
14-
runs-on: ubuntu-latest
14+
runs-on: ${{ vars.RUNNER_IMAGE || 'ubuntu-latest' }}
1515
name: Merge Staging to Production
1616
if: github.event.issue.pull_request && contains(github.event.issue.labels.*.name, 'production-deploy') && startsWith(github.event.comment.body, '/deploy') && github.event.comment.author_association == 'MEMBER'
1717
steps:

.github/workflows/lingo-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ concurrency:
2222
jobs:
2323
main:
2424
timeout-minutes: 15
25-
runs-on: ubuntu-latest
25+
runs-on: ${{ vars.RUNNER_IMAGE || 'ubuntu-latest' }}
2626
steps:
2727
- name: Checkout Code 🛎
2828
uses: actions/checkout@v4

.github/workflows/sync-production.yml

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

1212
jobs:
1313
sync-branches:
14-
runs-on: ubuntu-latest
14+
runs-on: ${{ vars.RUNNER_IMAGE || 'ubuntu-latest' }}
1515
name: Syncing branches
1616

1717
steps:

0 commit comments

Comments
 (0)