Skip to content

Commit

Permalink
Merge pull request #227 from aneeshafedo/master
Browse files Browse the repository at this point in the history
Remove scanning of example JARs in the release workflow to avoid Trivy failure
  • Loading branch information
NipunaRanasinghe authored Sep 26, 2023
2 parents 5565edd + 371045c commit 7b1ae30
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 :mongodb-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 :mongodb-examples:build
# Perform Trivy scan
- name: Run Trivy vulnerability scanner
Expand Down

0 comments on commit 7b1ae30

Please sign in to comment.