Skip to content

Commit 97fc3b4

Browse files
committed
Trigger all workflow on PR
Signed-off-by: tdruez <[email protected]>
1 parent 1800189 commit 97fc3b4

File tree

7 files changed

+7
-14
lines changed

7 files changed

+7
-14
lines changed

.github/workflows/sca-integration-anchore.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ name: Generate SBOM with Anchore Grype and load into ScanCode.io
99
# It runs on demand, and once a week (scheduled).
1010

1111
on:
12+
pull_request:
1213
workflow_dispatch:
1314
schedule:
1415
# Run once a week (every 7 days) at 00:00 UTC on Sunday

.github/workflows/sca-integration-cdxgen.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ name: Generate SBOM with CycloneDX cdxgen and load into ScanCode.io
99
# It runs on demand, and once a week (scheduled).
1010

1111
on:
12+
pull_request:
1213
workflow_dispatch:
1314
schedule:
1415
# Run once a week (every 7 days) at 00:00 UTC on Sunday

.github/workflows/sca-integration-depscan.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ name: Generate SBOM with OWASP dep-scan and load into ScanCode.io
99
# It runs on demand, and once a week (scheduled).
1010

1111
on:
12+
pull_request:
1213
workflow_dispatch:
1314
schedule:
1415
# Run once a week (every 7 days) at 00:00 UTC on Sunday

.github/workflows/sca-integration-ort.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,11 @@ name: Generate SBOM with ORT and load into ScanCode.io
99
# It runs on demand, and once a week (scheduled).
1010

1111
on:
12+
pull_request:
1213
workflow_dispatch:
1314
schedule:
1415
# Run once a week (every 7 days) at 00:00 UTC on Sunday
1516
- cron: "0 0 * * 0"
16-
pull_request:
17-
push:
18-
branches:
19-
- main
2017

2118
permissions:
2219
contents: read

.github/workflows/sca-integration-osv-scanner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ name: Generate SBOM with OSV-Scanner and load into ScanCode.io
99
# It runs on demand, and once a week (scheduled).
1010

1111
on:
12-
workflow_dispatch:
1312
pull_request:
13+
workflow_dispatch:
1414
schedule:
1515
# Run once a week (every 7 days) at 00:00 UTC on Sunday
1616
- cron: "0 0 * * 0"

.github/workflows/sca-integration-sbom-tool.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ name: Generate SBOM with SBOM tool and load into ScanCode.io
99
# It runs on demand, and once a week (scheduled).
1010

1111
on:
12+
pull_request:
1213
workflow_dispatch:
1314
schedule:
1415
# Run once a week (every 7 days) at 00:00 UTC on Sunday

.github/workflows/sca-integration-trivy.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ name: Generate SBOM with Trivy and load into ScanCode.io
99
# It runs on demand, and once a week (scheduled).
1010

1111
on:
12+
pull_request:
1213
workflow_dispatch:
1314
schedule:
1415
# Run once a week (every 7 days) at 00:00 UTC on Sunday
@@ -59,12 +60,3 @@ jobs:
5960
--packages ${{ env.EXPECTED_PACKAGE }} \
6061
--vulnerable-packages ${{ env.EXPECTED_VULNERABLE_PACKAGE }} \
6162
--dependencies ${{ env.EXPECTED_DEPENDENCY }}
62-
63-
- name: Verify SBOM Analysis Results in ScanCode.io
64-
shell: bash
65-
run: |
66-
scanpipe verify-project \
67-
--project scancode-action \
68-
--packages ${{ env.EXPECTED_PACKAGE }} \
69-
--vulnerable-packages ${{ env.EXPECTED_VULNERABLE_PACKAGE }} \
70-
--dependencies ${{ env.EXPECTED_DEPENDENCY }}

0 commit comments

Comments
 (0)