Skip to content

Commit

Permalink
Don't use github.event when referencing workflow variable
Browse files Browse the repository at this point in the history
  • Loading branch information
p5 committed Apr 2, 2024
1 parent cc6bf5d commit 8084bf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/_security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
- name: Pull Image
shell: bash
run: |
docker pull ${{ github.event.inputs.image-ref }}
docker pull ${{ inputs.image-ref }}
- name: Generate SBOM
id: generate-sbom
uses: ./.github/actions/generate-sbom
with:
image-ref: ${{ github.event.inputs.image-ref }}
image-ref: ${{ inputs.image-ref }}
output-file: sbom.json
artifact-name: sbom

Expand Down

0 comments on commit 8084bf1

Please sign in to comment.