Skip to content

Commit

Permalink
feat: updated message pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
PWS-TE committed Jan 16, 2025
1 parent 2bd3ab1 commit 9b238d0
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
- name: "Build application"
run: mvn ${{ env.MAVEN_CLI_OPTS }} clean install -DskipTests
- name: "Run SAST Scan"
id: veracode_scan
uses: veracode/[email protected]
with:
vid: ${{ secrets.VERACODE_API_ID }}
Expand All @@ -102,6 +103,28 @@ jobs:
baseline_file: baseline.json
- name: "Clean Maven cache"
run: bash ./scripts/ci/cleanup_cache.sh
- name: "Post success message"
if: success()
uses: actions/github-script@v6
with:
script: |
github.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: "Veracode SAST Scan passed successfully."
})
- name: "Post failure message"
if: failure()
uses: actions/github-script@v6
with:
script: |
github.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: "Veracode SAST Scan failed."
})
pmd_scan:
name: "PMD Scan"
Expand Down

0 comments on commit 9b238d0

Please sign in to comment.