Skip to content

Commit 9b252e1

Browse files
authored
chore(ci): implement code scanning (#18)
Implement PR code scanning and SBOM on release.
1 parent 32fd993 commit 9b252e1

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/e2e-tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: E2E Tests
33
on:
44
pull_request:
55
push:
6+
branches: [master]
67

78
jobs:
89
e2e-tests:

.github/workflows/unit-tests.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Unit Tests
33
on:
44
pull_request:
55
push:
6+
branches: [master]
67

78
jobs:
89
unit-tests:
@@ -18,3 +19,13 @@ jobs:
1819

1920
- name: Run Unit Tests
2021
run: make test-unit
22+
23+
scan:
24+
needs: unit-tests
25+
if: github.event_name == 'pull_request'
26+
uses: circlefin/circle-public-github-workflows/.github/workflows/pr-scan.yaml@v1
27+
28+
release-sbom:
29+
needs: unit-tests
30+
if: github.event_name == 'push'
31+
uses: circlefin/circle-public-github-workflows/.github/workflows/attach-release-assets.yaml@v1

0 commit comments

Comments
 (0)