Skip to content

Commit 2f23b7f

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

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/mend.yml

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

0 commit comments

Comments
 (0)