Skip to content

Commit

Permalink
chore(ci): implement code scanning (circlefin#435)
Browse files Browse the repository at this point in the history
## Summary

Implement PR code scanning and SBOM on release.

## Detail

## Testing

## Documentation

---

**Requested Reviewers:** @mention
  • Loading branch information
jscaltreto authored and zhenghui-w committed Apr 8, 2024
1 parent ac5ed25 commit 811db18
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Continuous Integration
on:
push:
branches: [master]
pull_request:

jobs:
Expand Down Expand Up @@ -31,3 +33,13 @@ jobs:

- name: Run tests
run: yarn test

scan:
needs: run_ci_tests
if: github.event_name == 'pull_request'
uses: circlefin/circle-public-github-workflows/.github/workflows/pr-scan.yaml@v1

release-sbom:
needs: run_ci_tests
if: github.event_name == 'push'
uses: circlefin/circle-public-github-workflows/.github/workflows/attach-release-assets.yaml@v1

0 comments on commit 811db18

Please sign in to comment.