Make sure to enable memory and cpuset cgroup in v2 #450
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: | |
branches-ignore: | |
- main | |
- '[0-9]+.[0-9]+' | |
- gh-readonly-queue/main/* | |
- gh-readonly-queue/main/[0-9]+.[0-9]+ | |
jobs: | |
Scan-Build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- 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 |