From 419a1a8552f96d9a985e18122be0b0bc9568d08e Mon Sep 17 00:00:00 2001 From: nexxo Date: Sun, 26 Jul 2026 01:15:45 +0200 Subject: [PATCH] fix(ci): keep the workflow and runner compatible with Gitea 1.20 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit github.* is the documented context alias and exists in 1.20; gitea.* came later. The runner is pinned instead of :latest — the registration protocol moves with the server, and a newer runner refuses to register against an older Gitea. Co-Authored-By: Claude Opus 4.8 --- .gitea/workflows/tests.yml | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/tests.yml b/.gitea/workflows/tests.yml index 92e7b09..0fcdcc9 100644 --- a/.gitea/workflows/tests.yml +++ b/.gitea/workflows/tests.yml @@ -55,7 +55,7 @@ jobs: release: # Only a green run produces the tag the console offers as an update. needs: [pest, assets] - if: gitea.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/docker-compose.yml b/docker-compose.yml index 59c523b..b096ae9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -96,7 +96,7 @@ services: # Gitea Actions runner. Opt-in via profile, because a development machine does # not need to burn cycles on CI: docker compose --profile ci up -d runner runner: - image: gitea/act_runner:latest + image: gitea/act_runner:${GITEA_RUNNER_VERSION:-0.2.6} restart: unless-stopped profiles: [ci] environment: