Skip to content

Commit 9089dce

Browse files
committed
(maint) Add step to mend scan GHA to report any vulns found
1 parent 0e59014 commit 9089dce

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/mend.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches:
66
- main
7+
- puppet8
8+
79
jobs:
810
build:
911
runs-on: ubuntu-latest
@@ -37,3 +39,12 @@ jobs:
3739
WS_USERKEY: ${{ secrets.MEND_TOKEN }}
3840
WS_PRODUCTNAME: CD4PE
3941
WS_PROJECTNAME: ${{ github.event.repository.name }}
42+
- name: "report vulnerabilities"
43+
id: vulnerabilities
44+
uses: puppetlabs/get-mend-vulnerabilities@v2
45+
with:
46+
product_token: ${{ secrets.MEND_PRODUCT_TOKEN }}
47+
product_display_name: "CD4PE"
48+
user_token: ${{ secrets.MEND_TOKEN }}
49+
fail_on_alert: "true"
50+
projects: "puppet-dev-tools"

0 commit comments

Comments
 (0)