Skip to content

Commit

Permalink
Remove sarif attestator
Browse files Browse the repository at this point in the history
Signed-off-by: John Kjell <[email protected]>
  • Loading branch information
jkjell committed Oct 31, 2023
1 parent 6f8929c commit 47dc4ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
with:
pull_request: ${{ github.event_name == 'pull_request' }}
step: lint
attestations: "github sarif"
attestations: "github"
pre-command: |
curl -sSfL https://github.com/hadolint/hadolint/releases/download/v2.12.0/hadolint-Linux-x86_64 -o /usr/local/bin/hadolint && \
chmod +x /usr/local/bin/hadolint
Expand All @@ -57,7 +57,7 @@ jobs:
with:
pull_request: ${{ github.event_name == 'pull_request' }}
step: sast
attestations: "github, sarif"
attestations: "github"
pre-command: python3 -m pip install semgrep==1.45.0
command: semgrep scan --config auto ./ --sarif -o semgrep.sarif
artifact-upload-name: semgrep.sarif
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
with:
pull_request: ${{ github.event_name == 'pull_request' }}
step: cve-scan
attestations: "github sarif"
attestations: "github"
artifact-download: image.tar
pre-command: |
curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b /usr/local/bin
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/witness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
with:
step: pre-${{ inputs.step }}
attestations: ${{ inputs.attestations }}
command: /bin/sh -c '${{ inputs.pre-command }}'
command: /bin/sh -c "${{ inputs.pre-command }}"
- if: ${{ inputs.pre-command != '' && inputs.pull_request == true }}
run: ${{ inputs.pre-command }}

Expand All @@ -69,7 +69,7 @@ jobs:
with:
step: ${{ inputs.step }}
attestations: ${{ inputs.attestations }}
command: /bin/sh -c '${{ inputs.command }}'
command: /bin/sh -c "${{ inputs.command }}"
- if: ${{ inputs.pull_request == true }}
run: ${{ inputs.command }}

Expand Down

0 comments on commit 47dc4ea

Please sign in to comment.