From f348c29e4be53b8413640f1f2eabd3fbde249a15 Mon Sep 17 00:00:00 2001 From: Ian Lewis Date: Wed, 12 Oct 2022 09:18:10 +0900 Subject: [PATCH] Fix secure-checkout bugs (#994) * Add shell Signed-off-by: Ian Lewis * Fix inputs key Signed-off-by: Ian Lewis Signed-off-by: Ian Lewis --- .github/actions/secure-checkout/action.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/secure-checkout/action.yaml b/.github/actions/secure-checkout/action.yaml index 30fdfa98ed..24fa33de6e 100644 --- a/.github/actions/secure-checkout/action.yaml +++ b/.github/actions/secure-checkout/action.yaml @@ -1,7 +1,7 @@ name: "secure-checkout" description: "Checkout and verify a commit sha for a GitHub repo" -input: +inputs: repository: description: "The repository to check out." required: false @@ -31,6 +31,7 @@ runs: using: "composite" steps: - name: Verify input sha + shell: bash env: EXPECTED_SHA: "${{ inputs.sha }}" # Verify that the input sha is a git digest (sha1).