fix: require explicit repository in checkout action #9
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/checkout-default-repository"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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: #10. Sheep Raw Sky PR: tsieprawski/sheeprawsky-music#39.
fix: clone default repository in nested checkout actionto fix: require explicit repository in checkout action