Skip to content

Commit 7fb3c8a

Browse files
authored
ci: Use group key for self-hosted runner references (#286)
## Summary - Switch all CI workflow `runs-on` values from bare strings to the `group:` object syntax, which is required to properly target self-hosted runner groups - Remove `.claude/settings.json` (project-level Claude Code permissions no longer needed) ## Test plan - [ ] Verify CI workflows trigger and pick up the correct runner groups - [ ] Confirm no regressions in test, release, and gh-page workflows Assisted-by: Claude Opus 4.6 via Claude Code
1 parent 24ac2b7 commit 7fb3c8a

4 files changed

Lines changed: 12 additions & 27 deletions

File tree

.claude/settings.json

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/workflows/gh-page.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ on:
88

99
jobs:
1010
build:
11-
runs-on: ubuntu-latest
11+
runs-on:
12+
group: gusto-ubuntu-default
1213
steps:
1314
- uses: actions/checkout@v4
1415

@@ -40,7 +41,8 @@ jobs:
4041

4142
if: ${{ github.ref_type == 'tag' || github.ref == 'refs/heads/main' }}
4243
# Specify runner + deployment step
43-
runs-on: ubuntu-latest
44+
runs-on:
45+
group: gusto-ubuntu-default
4446
steps:
4547
- name: Deploy to GitHub Pages
4648
id: deployment

.github/workflows/release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ on:
99
jobs:
1010
prepare-release:
1111
name: Prepare Release
12-
runs-on: gusto-ubuntu-default
12+
runs-on:
13+
group: gusto-ubuntu-default
1314
outputs:
1415
version: ${{ steps.version.outputs.version }}
1516
steps:
@@ -63,7 +64,8 @@ jobs:
6364
build:
6465
name: Build ${{ matrix.target }}
6566
needs: prepare-release
66-
runs-on: ${{ matrix.runner }}
67+
runs-on:
68+
group: ${{ matrix.runner }}
6769
strategy:
6870
fail-fast: false
6971
matrix:
@@ -122,7 +124,8 @@ jobs:
122124
release:
123125
name: Create GitHub Release
124126
needs: [prepare-release, build]
125-
runs-on: gusto-ubuntu-default
127+
runs-on:
128+
group: gusto-ubuntu-default
126129
steps:
127130
- name: Download all artifacts
128131
uses: actions/download-artifact@v4

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ on:
1414
jobs:
1515
tests:
1616
name: Run Tests
17-
runs-on: ubuntu-latest
17+
runs-on:
18+
group: gusto-ubuntu-default
1819
steps:
1920
- uses: actions/checkout@v4
2021
- run: rustup update

0 commit comments

Comments
 (0)