Fix PermissionError crash in get_dotenv_path() and silent typos in str_to_bool() #39
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
| # Zizmor - lints Github Actions workflows for security issues | |
| # | |
| # Security references: | |
| # - https://securitylab.github.com/resources/github-actions-preventing-pwn-requests | |
| # - https://securitylab.github.com/resources/github-actions-untrusted-input | |
| # - https://securitylab.github.com/resources/github-actions-building-blocks | |
| # - https://securitylab.github.com/resources/github-actions-new-patterns-and-mitigations | |
| # | |
| # Used actions: | |
| # - actions/checkout | |
| # repo: https://github.com/actions/checkout | |
| # releases: https://github.com/actions/checkout/tags | |
| # | |
| # - zizmorcore/zizmor-action: run zizmor and upload SARIF results | |
| # repo: https://github.com/zizmorcore/zizmor-action | |
| # releases: https://github.com/zizmorcore/zizmor-action/tags | |
| # docs: https://docs.zizmor.sh/ | |
| name: Zizmor π | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["**"] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| permissions: {} | |
| jobs: | |
| zizmor: | |
| name: Run zizmor π | |
| runs-on: ubuntu-latest | |
| permissions: | |
| security-events: write # Required for upload-sarif (used by zizmor-action) to upload SARIF files. | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Run zizmor π | |
| uses: zizmorcore/zizmor-action@3dc1ecc9bcb9e94e9b2c709687979e1298497054 # v0.6.2 | |
| with: | |
| persona: pedantic |