Fetch the public commit directly without an external CI action
All checks were successful
Portfolio checks / checks (pull_request) Successful in 2s
All checks were successful
Portfolio checks / checks (pull_request) Successful in 2s
This commit is contained in:
parent
b704229b36
commit
756c54c2db
1 changed files with 7 additions and 1 deletions
|
|
@ -10,7 +10,13 @@ jobs:
|
||||||
image: voice-dictation-ci:py313-node20-20261019
|
image: voice-dictation-ci:py313-node20-20261019
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
steps:
|
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
|
- name: Check local Markdown links
|
||||||
run: python3 scripts/check_links.py
|
run: python3 scripts/check_links.py
|
||||||
- name: Test offline demonstration
|
- name: Test offline demonstration
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue