Check if contestProblems collection is empty #2688
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: SL Scan | |
on: | |
push: | |
jobs: | |
Scan-Build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Perform Scan | |
uses: ShiftLeftSecurity/scan-action@master | |
env: | |
WORKSPACE: "" | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SCAN_AUTO_BUILD: true | |
SCAN_ANNOTATE_PR: 0 | |
with: | |
output: reports | |
type: python,bash | |
- name: Upload report | |
uses: github/codeql-action/upload-sarif@v2 | |
with: | |
sarif_file: reports |