Skip to content

Commit 1c811e5

Browse files
authored
Merge pull request #234 from ballerina-platform/task
Skip build directory from Trivy scan
2 parents d4d27ab + a111bab commit 1c811e5

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/central-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
with:
2525
scan-type: 'fs'
2626
scan-ref: '/github/workspace/ballerina'
27+
skip-dirs: 'build'
2728
format: 'table'
2829
exit-code: '1'
2930
- name: Publish artifact

.github/workflows/publish-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
with:
2828
scan-type: 'fs'
2929
scan-ref: '/github/workspace/ballerina'
30+
skip-dirs: 'build'
3031
format: 'table'
3132
exit-code: '1'
3233
- name: Set version env variable

.github/workflows/trivy-scan.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,6 @@ jobs:
2626
with:
2727
scan-type: 'fs'
2828
scan-ref: '/github/workspace/ballerina'
29+
skip-dirs: 'build'
2930
format: 'table'
3031
exit-code: '1'

0 commit comments

Comments
 (0)