mirror of
https://code.forgejo.org/actions/checkout
synced 2024-11-24 10:00:39 +00:00
added commit input in action.yaml
Signed-off-by: James Bradlee <james.bradlee@telenor.no>
This commit is contained in:
parent
9a9194f871
commit
650ceb06a8
1 changed files with 5 additions and 0 deletions
|
@ -9,6 +9,11 @@ inputs:
|
||||||
The branch, tag or SHA to checkout. When checking out the repository that
|
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
|
triggered a workflow, this defaults to the reference or SHA for that
|
||||||
event. Otherwise, uses the default branch.
|
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:
|
token:
|
||||||
description: >
|
description: >
|
||||||
Personal access token (PAT) used to fetch the repository. The PAT is configured
|
Personal access token (PAT) used to fetch the repository. The PAT is configured
|
||||||
|
|
Loading…
Reference in a new issue