Skip to content

Commit 0d93045

Browse files
authored
Sec 24, 32 (#71)
1 parent 716d8ef commit 0d93045

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

.github/workflows/semgrep-scan.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
--config="p/default"
2121
2222
- name: Save report
23-
uses: actions/upload-artifact@v3
23+
uses: actions/upload-artifact@v4
2424
with:
2525
name: semgrep.sarif
2626
path: semgrep.sarif
@@ -29,4 +29,14 @@ jobs:
2929
uses: github/codeql-action/[email protected]
3030
with:
3131
sarif_file: semgrep.sarif
32-
category: semgrep
32+
category: semgrep
33+
34+
- name: Mattermost Notification
35+
if: always()
36+
uses: rtCamp/[email protected]
37+
env:
38+
SLACK_USERNAME: ${{ github.event.repository.name }}
39+
SLACK_WEBHOOK: ${{ secrets.mm-sa-wh-url }}
40+
SLACK_COLOR: ${{ job.status }}
41+
SLACK_LINK_NAMES: true
42+
SLACK_FOOTER: ""

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ on:
121121
- '*'
122122
123123
jobs:
124-
build:
125-
uses: valitydev/java-workflow/.github/workflows/[email protected]
124+
scan:
125+
uses: valitydev/java-workflow/.github/workflows/[email protected]
126+
secrets:
127+
mm-sa-wh-url: ${{ secrets.MATTERMOST_SA_WH_URL}}
126128
```

0 commit comments

Comments
 (0)