Skip to content

Commit 98e0e73

Browse files
committed
CI: skip ubuntu-24.04-arm on private repos
ubuntu-24.04-arm runners are not available for private repositories. Signed-off-by: Akihiro Suda <[email protected]> (cherry picked from commit c59cc44) Signed-off-by: Akihiro Suda <[email protected]>
1 parent 4069785 commit 98e0e73

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
strategy:
2525
matrix:
2626
os: [ubuntu-24.04, ubuntu-24.04-arm, macos-13, windows-2025]
27+
exclude:
28+
- os: ${{ github.event.repository.private && 'ubuntu-24.04-arm' || '' }}
2729

2830

2931
steps:
@@ -190,6 +192,8 @@ jobs:
190192
matrix:
191193
os: [ubuntu-22.04, ubuntu-24.04, ubuntu-24.04-arm, macos-13, windows-2022]
192194
go-version: ["1.23.12", "1.24.8", "1.25.2"]
195+
exclude:
196+
- os: ${{ github.event.repository.private && 'ubuntu-24.04-arm' || '' }}
193197
steps:
194198
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
195199
- uses: ./.github/actions/install-go
@@ -375,6 +379,8 @@ jobs:
375379
runc: [runc] # crun can be added here to debug crun issues
376380
os: [ubuntu-22.04, ubuntu-24.04, ubuntu-24.04-arm]
377381
cgroup_driver: [cgroupfs, systemd]
382+
exclude:
383+
- os: ${{ github.event.repository.private && 'ubuntu-24.04-arm' || '' }}
378384

379385
env:
380386
GOTEST: gotestsum --

0 commit comments

Comments
 (0)