Skip to content

Commit b9e0ce6

Browse files
committed
Add visibility-based runner selection to workflows
1 parent af980da commit b9e0ce6

7 files changed

Lines changed: 7 additions & 7 deletions

.github/workflows/arduino-esp-v2-build-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ concurrency:
4747
jobs:
4848
build:
4949
name: ${{ matrix.build-properties }}:${{ matrix.sketch }}:${{matrix.board}}@${{matrix.platform-version}}
50-
runs-on: ubuntu-latest
50+
runs-on: ${{ github.event.repository.private && 'self-hosted' || 'ubuntu-latest' }}
5151
timeout-minutes: 12
5252

5353
strategy:

.github/workflows/arduino-esp-v3-build-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ concurrency:
4747
jobs:
4848
build:
4949
name: ${{ matrix.build-properties }}:${{ matrix.sketch }}:${{matrix.board}}@${{matrix.platform-version}}
50-
runs-on: ubuntu-latest
50+
runs-on: ${{ github.event.repository.private && 'self-hosted' || 'ubuntu-latest' }}
5151
timeout-minutes: 12
5252

5353
strategy:

.github/workflows/arduino-m5-build-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ concurrency:
4747
jobs:
4848
build:
4949
name: ${{ matrix.build-properties }}:${{ matrix.sketch }}:${{matrix.board}}@${{matrix.platform-version}}
50-
runs-on: ubuntu-latest
50+
runs-on: ${{ github.event.repository.private && 'self-hosted' || 'ubuntu-latest' }}
5151
timeout-minutes: 12
5252

5353
strategy:

.github/workflows/clang-format-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ concurrency:
4242
jobs:
4343
formatting-check:
4444
name: Formatting Check
45-
runs-on: ubuntu-latest
45+
runs-on: ${{ github.event.repository.private && 'self-hosted' || 'ubuntu-latest' }}
4646
strategy:
4747
matrix:
4848
path:

.github/workflows/firmware-cardkb-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ concurrency:
3030
jobs:
3131
build:
3232
name: ${{ matrix.sketch }}:${{matrix.board}}@${{matrix.platform-version}}
33-
runs-on: ubuntu-latest
33+
runs-on: ${{ github.event.repository.private && 'self-hosted' || 'ubuntu-latest' }}
3434
timeout-minutes: 12
3535

3636
strategy:

.github/workflows/firmware-faces-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ concurrency:
3030
jobs:
3131
build:
3232
name: ${{ matrix.sketch }}:${{matrix.board}}@${{matrix.platform-version}}
33-
runs-on: ubuntu-latest
33+
runs-on: ${{ github.event.repository.private && 'self-hosted' || 'ubuntu-latest' }}
3434
timeout-minutes: 12
3535

3636
strategy:

.github/workflows/platformio-build-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ concurrency:
4545
jobs:
4646
build:
4747
name: ${{ matrix.unit }}:${{ matrix.example }}@${{ matrix.board }}:${{ matrix.framework }}:${{ matrix.espressif32 }}
48-
runs-on: ubuntu-latest
48+
runs-on: ${{ github.event.repository.private && 'self-hosted' || 'ubuntu-latest' }}
4949
timeout-minutes: 12
5050

5151
strategy:

0 commit comments

Comments
 (0)