Skip to content

Commit 55555dd

Browse files
GeiserXGeiserX
andauthored
ci: use GitHub-hosted ubuntu-latest runners (#34)
Public repos get free, unlimited standard GitHub-hosted runners. Move self-hosted Linux CI jobs to ubuntu-latest: frees the home-lab servers, runs PR code in throwaway isolated VMs (removing the fork-PR attack surface), and costs nothing on public repos. The previous self-hosted fork-guard is removed as it is no longer needed. Co-authored-by: GeiserX <drumsergio@gmail.com>
1 parent 51218b1 commit 55555dd

4 files changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ env:
1919

2020
jobs:
2121
build-and-push:
22-
runs-on: [self-hosted, Linux, X64]
22+
runs-on: ubuntu-latest
2323
permissions:
2424
contents: read
2525
packages: write

.github/workflows/dockerhub-description.yml

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

99
jobs:
1010
update-description:
11-
runs-on: [self-hosted, Linux, X64]
11+
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v6
1414

.github/workflows/stale.yml

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

66
jobs:
77
stale:
8-
runs-on: [self-hosted, Linux, X64]
8+
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/stale@v10
1111
with:

.github/workflows/tests.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@ on:
99

1010
jobs:
1111
test:
12-
runs-on: [self-hosted, Linux, X64]
13-
# Do not run untrusted fork PR code on the self-hosted runner.
14-
if: >-
15-
github.event_name != 'pull_request' ||
16-
github.event.pull_request.head.repo.full_name == github.repository
12+
runs-on: ubuntu-latest
1713
steps:
1814
- uses: actions/checkout@v6
1915

0 commit comments

Comments
 (0)