chore: bump dev deps, refresh lockfile, update test container images #443
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
| # This workflow uses actions that are not certified by GitHub. | |
| # They are provided by a third-party and are governed by | |
| # separate terms of service, privacy policy, and support | |
| # documentation. | |
| # Bandit is a security linter designed to find common security issues in Python code. | |
| # This action will run Bandit on your codebase. | |
| # The results of the scan will be found under the Security tab of your repository. | |
| # | |
| # Configuration: This workflow uses pyproject.toml for centralized security settings. | |
| # Local development: make security (uses pyproject.toml) | |
| # CI/CD: This workflow (uses pyproject.toml via ini_path) | |
| # https://github.com/marketplace/actions/bandit-scan is ISC licensed, by abirismyname | |
| # https://pypi.org/project/bandit/ is Apache v2.0 licensed, by PyCQA | |
| name: Bandit | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| # The branches below must be a subset of the branches above | |
| branches: [ "master" ] | |
| schedule: | |
| - cron: '27 21 * * 6' | |
| jobs: | |
| bandit: | |
| permissions: | |
| contents: read # for actions/checkout to fetch code | |
| security-events: write # for github/codeql-action/upload-sarif to upload SARIF results | |
| actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Bandit Scan | |
| uses: shundor/python-bandit-scan@ab1d87dfccc5a0ffab88be3aaac6ffe35c10d6cd | |
| with: # optional arguments | |
| # exit with 0, even with results found | |
| exit_zero: true # optional, default is DEFAULT | |
| # Github token of the repository (automatically created by Github) | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information. | |
| # File or directory to run bandit on | |
| path: archipy/ # Scan the archipy directory (matches local make security command) | |
| # Report only issues of a given severity level or higher. Can be LOW, MEDIUM or HIGH. Default is UNDEFINED (everything) | |
| # level: # optional, default is UNDEFINED | |
| # Report only issues of a given confidence level or higher. Can be LOW, MEDIUM or HIGH. Default is UNDEFINED (everything) | |
| # confidence: # optional, default is UNDEFINED | |
| # Exclusions and skips are now configured in pyproject.toml for centralized management | |
| # path to a .bandit file that supplies command line arguments | |
| ini_path: pyproject.toml # Use pyproject.toml configuration for centralized security settings |