From 650ceb06a8831f9d8e668c6cc55e65cce5df1c7e Mon Sep 17 00:00:00 2001 From: James Bradlee Date: Tue, 20 Aug 2024 10:43:19 +0200 Subject: [PATCH] added commit input in action.yaml Signed-off-by: James Bradlee --- action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/action.yml b/action.yml index 75d5ae2..0ec5365 100644 --- a/action.yml +++ b/action.yml @@ -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