checkout/action.yaml
2025-10-22 12:41:55 +00:00

17 lines
488 B
YAML

name: Checkout
description: Checkout a Git repository at a particular version
inputs:
token:
description: Personal access token (PAT) used to fetch the repository.
default: ${{ forgejo.token }}
subpath:
description: Limit clone to a single directory inside the repo
submodules:
description: Whether to checkout submodules (true|recursive)
default: false
runs:
using: composite
steps:
- name: Checkout
run: ${{ forgejo.action_path }}/entrypoint.sh