diff --git a/.forgejo/workflows/checks.yml b/.forgejo/workflows/checks.yml index d02019f..35c9eff 100644 --- a/.forgejo/workflows/checks.yml +++ b/.forgejo/workflows/checks.yml @@ -10,7 +10,13 @@ jobs: image: voice-dictation-ci:py313-node20-20261019 timeout-minutes: 10 steps: - - uses: https://code.forgejo.org/actions/checkout@v4 + - name: Check out the exact public commit + # This repository is public: no token or external checkout action is needed. + run: | + git init + git remote add origin "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git" + git fetch --no-tags --depth=1 origin "$GITHUB_SHA" + git checkout --detach FETCH_HEAD - name: Check local Markdown links run: python3 scripts/check_links.py - name: Test offline demonstration