Skip to content

Commit

Permalink
Exclude examples build in trivy scans
Browse files Browse the repository at this point in the history
  • Loading branch information
NipunaRanasinghe committed Sep 25, 2023
1 parent b713597 commit 689a84a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev-stg-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}
JAVA_OPTS: -DBALLERINA_DEV_COMPILE_BALLERINA_ORG=true
run: |
./gradlew build -x test
./gradlew build -x test -x :azure-service-bus-examples:build
# Perform Trivy scan
- name: Run Trivy vulnerability scanner
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}
JAVA_OPTS: -DBALLERINA_DEV_COMPILE_BALLERINA_ORG=true
run: |
./gradlew build -x test
./gradlew build -x test -x :azure-service-bus-examples:build
# Perform Trivy scan
- name: Run Trivy vulnerability scanner
Expand Down

0 comments on commit 689a84a

Please sign in to comment.