From e2a873f88329f664a1dcd0e9ddf6d72394d43e0b Mon Sep 17 00:00:00 2001 From: Job Date: Sun, 22 Nov 2026 16:00:25 +0000 Subject: [PATCH] os.yml: check out with git gitea-runner 6 has no builtin:checkout, and plain Fedora has no Node.js for actions/checkout. Co-Authored-By: Claude Opus 5.5 --- .gitea/workflows/os.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/os.yml b/.gitea/workflows/os.yml index c87d612..545c442 100644 --- a/.gitea/workflows/os.yml +++ b/.gitea/workflows/os.yml @@ -22,8 +22,16 @@ jobs: steps: - name: Install tools run: dnf install -yq mkosi git-core zstd qemu-img + # Check out fetches the commit with git, because the job image has no + # Node.js for actions/checkout. - name: Check out - uses: builtin:checkout + env: + AUTH: "Authorization: token ${{ gitea.token }}" + run: | + git init -q + git -c http.extraHeader="$AUTH" fetch -q --depth 1 \ + "${{ gitea.server_url }}/${{ gitea.repository }}" "${{ gitea.sha }}" + git checkout -q FETCH_HEAD - name: Build env: KEY: ${{ secrets.SECUREBOOT_KEY }}