Skip to content

Commit

Permalink
Skip build directory from Trivy scan
Browse files Browse the repository at this point in the history
  • Loading branch information
kalaiyarasiganeshalingam committed Sep 28, 2021
1 parent a0094fe commit 129bd59
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/central-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
with:
scan-type: 'fs'
scan-ref: '/github/workspace/ballerina'
skip-dirs: 'build'
format: 'table'
exit-code: '1'
- name: Publish artifact
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
with:
scan-type: 'fs'
scan-ref: '/github/workspace/ballerina'
skip-dirs: 'build'
format: 'table'
exit-code: '1'
- name: Set version env variable
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/trivy-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ jobs:
with:
scan-type: 'fs'
scan-ref: '/github/workspace/ballerina'
skip-dirs: 'build'
format: 'table'
exit-code: '1'

0 comments on commit 129bd59

Please sign in to comment.