Merge pull request #178 from wrhalpin/claude/live-presentation-deck-t… #291
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: Python Security | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| schedule: | |
| - cron: "23 4 * * 1" # Mondays at 04:23 UTC | |
| concurrency: | |
| group: python-security-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| bandit: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install Bandit | |
| run: pip install bandit | |
| - name: Run Bandit | |
| run: bandit -r gnat/ -ll -x tests/ | |
| pip-audit: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Run pip-audit | |
| uses: pypa/[email protected] | |
| with: | |
| inputs: "." |