feat(ci): add CodeQL SAST scanning for Go and TypeScript
INF-06: New sast.yml workflow runs CodeQL analysis on push to main and PRs for Go and JavaScript/TypeScript.
This commit is contained in:
parent
68069df6e4
commit
de92bf6029
1 changed files with 22 additions and 0 deletions
22
.github/workflows/sast.yml
vendored
Normal file
22
.github/workflows/sast.yml
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
name: CodeQL SAST
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
security-events: write
|
||||
strategy:
|
||||
matrix:
|
||||
language: [go, javascript-typescript]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: github/codeql-action/init@v3
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
- uses: github/codeql-action/autobuild@v3
|
||||
- uses: github/codeql-action/analyze@v3
|
||||
Loading…
Reference in a new issue