feat: subpath

This commit is contained in:
ange 2025-02-02 00:03:33 +00:00
parent 16acdfd6fd
commit a1be1fd562
Signed by: ange
GPG key ID: 9E0C4157BB7BEB1D
2 changed files with 12 additions and 2 deletions

View file

@ -1,10 +1,16 @@
name: Checkout
description: Checkout a Git repository at a particular version
inputs:
token:
description: A token to authenticate on behalf of the GitHub App installed on your repository.
description: Personal access token (PAT) used to fetch the repository.
default: ${{ gitea.token }}
subpath:
description: Limit clone to a single directory inside the repo
default: .
runs:
using: composite
steps:
- name: Checkout
run: ${{ gitea.action_path }}/checkout.sh
run: ${{ gitea.action_path }}/entrypoint.sh