Skip to content

Commit

Permalink
CI: add dry-run flag to failing attest commands (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger committed Dec 14, 2023
1 parent ee67bef commit b0e8ca1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/sub_test_trails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ jobs:
--artifact-type=docker \
--name=dashboard.snyk-scan \
--scan-results=snyk.json \
--trail="${GITHUB_SHA}"
--trail="${GITHUB_SHA}" \
--dry-run
lint:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -114,8 +115,7 @@ jobs:
--compliant="${KOSLI_LINT_COMPLIANT}" \
--evidence-paths="${LINT_EVIDENCE_DIR}" \
--name=dashboard.lint \
--trail="${GITHUB_SHA}" \
--dry-run
--trail="${GITHUB_SHA}"
pull-request:
if: ${{ github.ref == 'refs/heads/main' }}
Expand All @@ -140,5 +140,6 @@ jobs:
--artifact-type=docker \
--github-token=${{ secrets.GITHUB_TOKEN }} \
--name=dashboard.pull-request \
--trail="${GITHUB_SHA}"
--trail="${GITHUB_SHA}" \
--dry-run

0 comments on commit b0e8ca1

Please sign in to comment.