fix: check out with actions/checkout

gitea-runner 6 removed builtin:checkout. With Node.js in the job,
actions/checkout works.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Job79andClaude Opus 5.5 committed 2026-11-22 17:05:15 +00:00
1 parent 34be2ef89f
commit 3793cb0f31
1 file changed
+3 -10
+3 -10
View File
@@ -25,18 +25,11 @@ jobs:
contents: read contents: read
packages: write packages: write
steps: steps:
# Install tools adds Node.js for actions/checkout.
- name: Install tools - name: Install tools
run: dnf install -yq mkosi git-core run: dnf install -yq mkosi git-core nodejs
# Check out fetches the commit with git. gitea-runner 6 removed
# builtin:checkout, and the job image has no Node.js for actions/checkout.
- name: Check out - name: Check out
env: uses: actions/checkout@v4
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 - name: Build
env: env:
KEY: ${{ secrets.SECUREBOOT_KEY }} KEY: ${{ secrets.SECUREBOOT_KEY }}