Skip to content

(maint) Add step to mend scan GHA to report any vulns found #162

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 25, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/mend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- main
- puppet8

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -37,3 +39,12 @@ jobs:
WS_USERKEY: ${{ secrets.MEND_TOKEN }}
WS_PRODUCTNAME: CD4PE
WS_PROJECTNAME: ${{ github.event.repository.name }}
- name: "report vulnerabilities"
id: vulnerabilities
uses: puppetlabs/get-mend-vulnerabilities@v2
with:
product_token: ${{ secrets.MEND_PRODUCT_TOKEN }}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added this secret, the same as the one used for other components in the CD4PE Mend product.

product_display_name: "CD4PE"
user_token: ${{ secrets.MEND_TOKEN }}
fail_on_alert: "true"
projects: "puppet-dev-tools"