Skip to content

Commit afae026

Browse files
committed
chore: remove deprecated Black Duck scan workflow and add trigger workflow
On-behalf-of: Gerald Morrison (SAP) <[email protected]> Signed-off-by: Gerald Morrison (SAP) <[email protected]>
1 parent 6f0e74d commit afae026

File tree

2 files changed

+26
-93
lines changed

2 files changed

+26
-93
lines changed

.github/workflows/blackduck_scan.yaml

Lines changed: 0 additions & 93 deletions
This file was deleted.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Trigger central Black Duck scan workflow for the Open Component Model project.
2+
name: Trigger Blackduck Scan
3+
on:
4+
push:
5+
paths-ignore:
6+
- '.github/workflows/**'
7+
branches: [ "main" ]
8+
pull_request_target:
9+
paths-ignore:
10+
- '.github/workflows/**'
11+
branches: [ "main" ]
12+
schedule:
13+
- cron: '10 0 * * 0'
14+
workflow_dispatch:
15+
16+
jobs:
17+
trigger-scan:
18+
uses: open-component-model/.github/.github/workflows/blackduck-scan.yaml@main
19+
with:
20+
# required to be able to differentiate between PRs and pushes in the called workflow (rapid or full scan)
21+
event_type: ${{ github.event_name }}
22+
secrets:
23+
BLACKDUCK_API_TOKEN: ${{ secrets.BLACKDUCK_API_TOKEN }}
24+
BLACKDUCK_URL: ${{ secrets.BLACKDUCK_URL }}
25+
permissions:
26+
contents: read

0 commit comments

Comments
 (0)