Added additional step to submit results from IaC to GitHub Actions #11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: SAST Scan | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
sast: | |
name: SAST Scan | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
- name: Run CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 |