Skip to content

Commit

Permalink
Fix secure-checkout bugs (#994)
Browse files Browse the repository at this point in the history
* Add shell

Signed-off-by: Ian Lewis <[email protected]>

* Fix inputs key

Signed-off-by: Ian Lewis <[email protected]>

Signed-off-by: Ian Lewis <[email protected]>
  • Loading branch information
Ian Lewis authored Oct 12, 2022
1 parent 6b7417a commit f348c29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/secure-checkout/action.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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).
Expand Down

0 comments on commit f348c29

Please sign in to comment.