Skip to content

Commit 7662b8a

Browse files
authored
chore: switch to protected gh runners (#142)
**Problem** Some of our GitHub actions within this repo are failing with the error below after moving to Databricks GHEC **Changes made** This PR uses the protected GitHub runner groups which are allowlisted to get the workflows functional again
1 parent 8ca1491 commit 7662b8a

File tree

5 files changed

+15
-5
lines changed

5 files changed

+15
-5
lines changed

.github/workflows/claude-code-review.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ jobs:
3030
github.event.pull_request.author_association == 'MEMBER' ||
3131
github.event.pull_request.author_association == 'COLLABORATOR'
3232
33-
runs-on: ubuntu-latest
33+
runs-on:
34+
group: neondatabase-protected-runner-group
35+
labels: linux-ubuntu-latest
3436
permissions:
3537
contents: read
3638
pull-requests: write

.github/workflows/claude.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ jobs:
3535
github.event.issue.author_association == 'MEMBER' ||
3636
github.event.issue.author_association == 'COLLABORATOR'))
3737
)
38-
runs-on: ubuntu-latest
38+
runs-on:
39+
group: neondatabase-protected-runner-group
40+
labels: linux-ubuntu-latest
3941
permissions:
4042
contents: read
4143
pull-requests: read

.github/workflows/koyeb-preview.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ jobs:
1010
concurrency:
1111
group: '${{ github.ref_name }}'
1212
cancel-in-progress: true
13-
runs-on: ubuntu-latest
13+
runs-on:
14+
group: neondatabase-protected-runner-group
15+
labels: linux-ubuntu-latest
1416
if: contains(github.event.pull_request.labels.*.name, 'deploy-preview')
1517
steps:
1618
- name: Checkout

.github/workflows/koyeb-prod.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ jobs:
1111
concurrency:
1212
group: '${{ github.ref_name }}'
1313
cancel-in-progress: true
14-
runs-on: ubuntu-latest
14+
runs-on:
15+
group: neondatabase-protected-runner-group
16+
labels: linux-ubuntu-latest
1517
# Only main branch is allowed to deploy to production
1618
if: github.ref == 'refs/heads/main'
1719
steps:

.github/workflows/pr.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ on:
77

88
jobs:
99
lint-and-build:
10-
runs-on: ubuntu-latest
10+
runs-on:
11+
group: neondatabase-protected-runner-group
12+
labels: linux-ubuntu-latest
1113
steps:
1214
- name: Checkout code
1315
uses: actions/checkout@v4

0 commit comments

Comments
 (0)