[libclc][Test] Align test cmake and config files with upstream #1101
Workflow file for this run
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: Bandit | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: | |
| - sycl | |
| paths: | |
| - '**/*.py' | |
| push: | |
| branches: | |
| - sycl | |
| paths: | |
| - '**/*.py' | |
| permissions: | |
| contents: read | |
| jobs: | |
| bandit: | |
| if: github.repository == 'intel/llvm' | |
| name: Bandit | |
| runs-on: ubuntu-latest | |
| permissions: | |
| security-events: write | |
| steps: | |
| - name: Clone the git repo | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Install Bandit | |
| run: pip install bandit bandit-sarif-formatter | |
| - name: Run Bandit | |
| run: | | |
| bandit -c devops/bandit.config -r . --exit-zero -f sarif -o bandit_results.sarif | |
| - uses: github/codeql-action/upload-sarif@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4 | |
| with: | |
| sarif_file: bandit_results.sarif |