From 47d8cc136ebf8de72e86564d2347c056ffb3558b Mon Sep 17 00:00:00 2001 From: GeiserX Date: Tue, 23 Jun 2026 09:51:46 +0200 Subject: [PATCH] ci: use GitHub-hosted ubuntu-latest runners 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. --- .github/workflows/ci.yml | 6 +----- .github/workflows/release.yml | 2 +- .github/workflows/stale.yml | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac7d27a..bbc49a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,11 +24,7 @@ concurrency: jobs: test: - runs-on: [self-hosted, Linux, X64] - # Do not run untrusted fork PR code on the self-hosted runner. - if: >- - github.event_name != 'pull_request' || - github.event.pull_request.head.repo.full_name == github.repository + runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - uses: actions/setup-java@v5 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 14ef136..82bfc45 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ on: jobs: release: - runs-on: [self-hosted, Linux, X64] + runs-on: ubuntu-latest permissions: contents: write diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 012c4c8..9a286ce 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -5,7 +5,7 @@ on: jobs: stale: - runs-on: [self-hosted, Linux, X64] + runs-on: ubuntu-latest steps: - uses: actions/stale@v10 with: