Bug fixes and added new callbacks #19
This file contains 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: Scanning Code with Semgrep | |
on: [pull_request] | |
jobs: | |
git-secrets-check: | |
name: Run Semgrep scan | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Install Semgrep | |
run: | | |
python -m pip install --upgrade pip | |
pip install semgrep | |
- name: Run Semgrep | |
run: semgrep --config p/ci --output semgrep.sarif --sarif --error | |
- name: Upload Semgrep results | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: semgrep-results | |
path: semgrep.sarif |