-
Notifications
You must be signed in to change notification settings - Fork 12
34 lines (30 loc) · 1.07 KB
/
Copy pathmaven-mend-pr.yml
File metadata and controls
34 lines (30 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Mend CLI scan for Maven PR
on:
workflow_run: # zizmor: ignore[dangerous-triggers]
workflows: ["Java CI with Maven"]
types: [completed]
permissions:
contents: read
actions: read
checks: write
pull-requests: write
security-events: write
concurrency:
group: mend-scan-${{ github.event.workflow_run.pull_requests[0].number || github.event.workflow_run.head_sha }}
cancel-in-progress: true
jobs:
scan:
if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request'
uses: project-ncl/shared-github-actions/.github/workflows/mend-ci.yml@646d9b629925d6405fb06ed1476aefd6b2cdca86 # v0.0.23
with:
project_name: "Commonjava/commonjava"
SCA: true
SAST: false
triggering_run_id: ${{ github.event.workflow_run.id }}
pr_feedback: true
secrets:
MEND_URL: ${{ secrets.MEND_URL }}
MEND_USER_KEY: ${{ secrets.MEND_USER_KEY }}
MEND_EMAIL: ${{ secrets.MEND_EMAIL }}
MEND_ORGNAME: ${{ secrets.MEND_ORGNAME }}
MEND_PRODUCTNAME: ${{ secrets.MEND_PRODUCTNAME }}