From 88c0b459c68c8493f0f0c21b4723e680cb30e531 Mon Sep 17 00:00:00 2001 From: bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Date: Sun, 29 Nov 2026 16:19:26 -0600 Subject: [PATCH] ci: run public-repo workflows on GitHub-hosted runners Self-hosted runners should almost never serve public repositories: any fork PR can run code on the host. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 6 +++--- .github/workflows/pre-commit.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0cb0b69..81df4d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,9 +12,8 @@ permissions: jobs: pre-commit: - # Fork PRs never run on the self-hosted runner. if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository - runs-on: [self-hosted, Linux, X64, hetzner] + runs-on: ubuntu-latest timeout-minutes: 10 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 @@ -32,6 +31,7 @@ jobs: if: github.event_name == 'push' && needs.pre-commit.result == 'success' permissions: contents: write - uses: bakerboy448/.github/.github/workflows/release-calver.yml@625cd5467e2b71e44d10f06697535abca356f842 + uses: bakerboy448/.github/.github/workflows/release-calver.yml@b6391dd982a6ec64c4bb9ee9e4c1e4724e4913cd with: sha: ${{ github.sha }} + runner: '"ubuntu-latest"' diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 6f1bc29..61c330a 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -9,7 +9,7 @@ permissions: jobs: pre-commit: - runs-on: [self-hosted, Linux, X64, hetzner] + runs-on: ubuntu-latest timeout-minutes: 10 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7