Let hostname() accept a bare single-label name with the RFC 1034 dot #446
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
| # Static Application Security Testing | |
| name: sast | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: ["master"] | |
| pull_request: | |
| branches: ["master"] | |
| jobs: | |
| sast: | |
| permissions: | |
| security-events: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Bandit | |
| uses: PyCQA/bandit-action@v1 | |
| with: | |
| targets: src/validators | |
| exclude: .github,.pytest_cache,.venv,.vscode,site,tests |