Repository navigation
ci(client-python): adding bandit as a sats quickwin (#355) #2
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: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| sats-bandit-analysis: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@v8.1.0 | |
| with: | |
| python-version: "3.14" | |
| - name: Install bandit | |
| run: | | |
| uv venv && uv pip install bandit | |
| - name: Run bandit | |
| continue-on-error: true | |
| run: | | |
| uv run bandit -ll -r ./pyoaev/ ./scripts/ ./test/ |