Skip to content

Commit

Permalink
Don't use dot names for lint/snyk policy files (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger committed Feb 28, 2024
1 parent dd15d52 commit 988ccc5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
set -e
KOSLI_COMPLIANT=$([ ${STATUS} = 0 ] && echo true || echo false)
cp .rubocop.yml "${KOSLI_ATTACHMENTS}"
cp rubocop.policy.yml "${KOSLI_ATTACHMENTS}"
kosli attest generic \
--attachments="${KOSLI_ATTACHMENTS}" \
--compliant="${KOSLI_COMPLIANT}" \
Expand Down Expand Up @@ -184,12 +184,12 @@ jobs:
--file=Dockerfile
--sarif
--sarif-file-output=snyk.json
--policy-path=.snyk
--policy-path=snyk.policy

- name: Attest Snyk results to Kosli Trail
run:
kosli attest snyk "${IMAGE_NAME}"
--attachments=.snyk
--attachments=snyk.policy
--name=dashboard.snyk-scan
--scan-results=snyk.json

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
set -e
KOSLI_COMPLIANT=$([ ${STATUS} = 0 ] && echo true || echo false)
cp .rubocop.yml "${KOSLI_ATTACHMENTS}"
cp rubocop.policy.yml "${KOSLI_ATTACHMENTS}"
kosli attest generic \
--attachments="${KOSLI_ATTACHMENTS}" \
--compliant="${KOSLI_COMPLIANT}" \
Expand Down Expand Up @@ -174,12 +174,12 @@ jobs:
--file=Dockerfile
--sarif
--sarif-file-output=snyk.json
--policy-path=.snyk
--policy-path=snyk.policy

- name: Attest Snyk results to Kosli Trail
run:
kosli attest snyk "${IMAGE_NAME}"
--attachments=.snyk
--attachments=snyk.policy
--name=dashboard.snyk-scan
--scan-results=snyk.json

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 988ccc5

Please sign in to comment.