fix: require explicit repository in checkout action #9

Merged
tsieprawski merged 5 commits from fix/checkout-default-repository into main 2026-08-24 08:10:43 +00:00
Owner
## Scope: issue 10. Make repository explicit and required for the authenticated checkout action. The previous documentation said repository was optional and defaulted to the caller repository, but the production nested action did not implement that default. The Sheep Raw Sky workflow followed the documentation and failed in a fresh Forgejo Runner workspace. Both root action.yaml and nested .forgejo/actions/checkout/action.yaml now require repository, and both implementations remain identical. The checkout action clones the explicit repository, fetches the requested ref or GITHUB_SHA, checks out the resulting ref, and supports fetch depth, tags, submodules, github-token, and basic-auth. The fixture and Sheep Raw Sky workflows now pass repository explicitly. This is a CI contract and documentation bug, not a security-critical incident. Related issue: https://code.sieprawski.pl/tsieprawski/forgejo-actions/issues/10. Sheep Raw Sky PR: https://code.sieprawski.pl/tsieprawski/sheeprawsky-music/pulls/39.
fix: clone default repository in checkout action
All checks were successful
Check Shellcheck / shellcheck (pull_request) Successful in 8s
Check Actionlint / actionlint (pull_request) Successful in 10s
Check Markdownlint / markdownlint (pull_request) Successful in 12s
Check REUSE / reuse (pull_request) Successful in 17s
Check Shfmt / shfmt (pull_request) Successful in 5s
Check Typos / typos (pull_request) Successful in 6s
Check Taplo / taplo (pull_request) Successful in 6s
Check Yamllint / yamllint (pull_request) Successful in 7s
Test Integration Checkout / integration-checkout (pull_request) Successful in 1m40s
c8e6844793
test: keep checkout action implementations synchronized
All checks were successful
Check Shellcheck / shellcheck (pull_request) Successful in 5s
Check Actionlint / actionlint (pull_request) Successful in 5s
Check Markdownlint / markdownlint (pull_request) Successful in 8s
Check REUSE / reuse (pull_request) Successful in 14s
Check Shfmt / shfmt (pull_request) Successful in 5s
Check Taplo / taplo (pull_request) Successful in 6s
Check Typos / typos (pull_request) Successful in 7s
Check Yamllint / yamllint (pull_request) Successful in 7s
Test Integration Checkout / integration-checkout (pull_request) Successful in 1m38s
49a3e0bc13
tsieprawski changed title from fix: clone default repository in nested checkout action to fix: require explicit repository in checkout action 2026-08-24 07:51:09 +00:00
fix: require explicit checkout repository
Some checks failed
Check Actionlint / actionlint (pull_request) Successful in 8s
Check Markdownlint / markdownlint (pull_request) Successful in 10s
Check REUSE / reuse (pull_request) Successful in 16s
Check Shfmt / shfmt (pull_request) Successful in 5s
Check Shellcheck / shellcheck (pull_request) Successful in 5s
Check Yamllint / yamllint (pull_request) Successful in 6s
Check Taplo / taplo (pull_request) Successful in 7s
Check Typos / typos (pull_request) Successful in 7s
Test Integration Checkout / integration-checkout (pull_request) Has been cancelled
013914fdb1
fix: reject missing checkout repository
All checks were successful
Check Actionlint / actionlint (pull_request) Successful in 7s
Check Markdownlint / markdownlint (pull_request) Successful in 9s
Check REUSE / reuse (pull_request) Successful in 14s
Check Taplo / taplo (pull_request) Successful in 5s
Check Shellcheck / shellcheck (pull_request) Successful in 5s
Check Typos / typos (pull_request) Successful in 5s
Check Shfmt / shfmt (pull_request) Successful in 6s
Check Yamllint / yamllint (pull_request) Successful in 9s
Test Integration Checkout / integration-checkout (pull_request) Successful in 1m39s
d47c53716d
docs: show required checkout repository
All checks were successful
Check Shellcheck / shellcheck (pull_request) Successful in 8s
Check Actionlint / actionlint (pull_request) Successful in 9s
Check Markdownlint / markdownlint (pull_request) Successful in 13s
Check REUSE / reuse (pull_request) Successful in 18s
Check Shfmt / shfmt (pull_request) Successful in 7s
Check Typos / typos (pull_request) Successful in 8s
Check Taplo / taplo (pull_request) Successful in 9s
Check Yamllint / yamllint (pull_request) Successful in 10s
Test Integration Checkout / integration-checkout (pull_request) Successful in 1m45s
Check Actionlint / actionlint (push) Successful in 8s
Check Markdownlint / markdownlint (push) Successful in 11s
Check REUSE / reuse (push) Successful in 16s
Check Shellcheck / shellcheck (push) Successful in 6s
Check Shfmt / shfmt (push) Successful in 7s
Check Typos / typos (push) Successful in 8s
Check Taplo / taplo (push) Successful in 8s
Check Yamllint / yamllint (push) Successful in 9s
Test Integration Checkout / integration-checkout (push) Successful in 1m47s
eac833a7e9
tsieprawski scheduled this pull request to auto merge when all checks succeed 2026-08-24 08:10:17 +00:00
tsieprawski deleted branch fix/checkout-default-repository 2026-08-24 08:10:43 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
tsieprawski/forgejo-actions!9
No description provided.