Configure Mend for GitHub.com #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: vanagon mend | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
mend_vanagon: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Connect to Twingate | |
uses: twingate/github-action@v1 | |
with: | |
service-key: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }} | |
- name: checkout the current PR | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Run Vanagon Mend Scan | |
uses: puppetlabs/security-mend-vanagon-action@v4.0.0 | |
with: | |
mendApiKey: ${{ secrets.MEND_API_KEY }} | |
mendURL: https://saas-eu.whitesourcesoftware.com/agent | |
mendToken: ${{ secrets.MEND_TOKEN }} | |
productName: Puppet Enterprise | |
projectName: ${{ github.event.repository.name }} | |
skipProjects: '' | |
skipPlatforms: '' | |
sshKey: ${{ secrets.SEC_SECBOT_SSH_PUBLIC }} | |
sshKeyName: 'id_ed25519' | |
branch : ${{ github.ref_name }} |