-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,19 +33,19 @@ jobs: | |
runs-on: ubuntu-latest | ||
if: ${{ (github.event_name == 'push') || (github.event_name == 'pull_request') || (github.event.inputs.runDebrickedScan == 'true') }} | ||
steps: | ||
- uses: actions/checkout@v3.3.0 | ||
- uses: actions/checkout@v4 | ||
# Java is required to run the various Fortify utilities. | ||
# Setup JDK 11 on host | ||
- uses: actions/setup-java@v3 | ||
- uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '11' | ||
# Install appropriate version of Gradle | ||
- name: Setup Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
uses: gradle/actions/setup-gradle@v3 | ||
with: | ||
gradle-version: ${{ env.GRADLE_VERSION }} | ||
# Install Fortify tools | ||
# Install Fortify/Debricked tools | ||
- name: Setup Fortify tools | ||
uses: fortify/github-action/[email protected] | ||
with: | ||
|
@@ -55,6 +55,6 @@ jobs: | |
- name: Run debricked scan | ||
shell: bash | ||
run: | | ||
debricked scan --callgraph -r "${DEFAULT_APP_NAME}" --access-token="${DEBRICKED_TOKEN}" -e "build.gradle" -e "*/**.lock" -e "**/build/classes/test/**" -e "**/target/classes/test-classes/**" . | ||
debricked scan --callgraph -r "${DEFAULT_APP_NAME}" --access-token="${DEBRICKED_TOKEN}" -e "*/**.lock" -e "**/build/classes/test/**" -e "**/target/classes/test-classes/**" . | ||
env: | ||
DEBRICKED_TOKEN: ${{ secrets.DEBRICKED_TOKEN }} |