2022-10-18 10:35:48 -07:00
|
|
|
name: Code Review - TypeScript
|
2022-10-10 11:39:04 -07:00
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
2022-10-18 10:35:48 -07:00
|
|
|
branches: ['main']
|
2022-10-10 11:39:04 -07:00
|
|
|
push:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
semgrep:
|
|
|
|
name: Code Scan
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
|
|
|
image: returntocorp/semgrep
|
|
|
|
|
|
|
|
if: (github.actor != 'dependabot[bot]')
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
2022-10-10 11:47:59 -07:00
|
|
|
- run: semgrep ci --exclude 'public/charting_library'
|
2022-10-10 11:39:04 -07:00
|
|
|
env:
|
|
|
|
SEMGREP_RULES: p/typescript
|