1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2024-12-25 12:05:51 +00:00

added commit input in action.yaml

Signed-off-by: James Bradlee <james.bradlee@telenor.no>
This commit is contained in:
James Bradlee 2024-08-20 10:43:19 +02:00
parent 9a9194f871
commit 650ceb06a8
No known key found for this signature in database

View file

@ -9,6 +9,11 @@ inputs:
The branch, tag or SHA to checkout. When checking out the repository that
triggered a workflow, this defaults to the reference or SHA for that
event. Otherwise, uses the default branch.
commit:
description: >
The commit SHA to checkout. Used when ref is not specified or is ambiguous.
This can be used as a replacement for ref, or alongside it to checkout a
specific commit of the ref.
token:
description: >
Personal access token (PAT) used to fetch the repository. The PAT is configured