-
Notifications
You must be signed in to change notification settings - Fork 13
Update all dependencies #328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,81 +9,81 @@ jobs: | |
| py39: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | ||
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 | ||
| - name: Setup Python | ||
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 | ||
| uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 | ||
| with: | ||
| python-version: "3.9" | ||
| - name: Install Tox | ||
| run: pip install tox | ||
| - name: Install Poetry | ||
| uses: snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1 | ||
| uses: snok/install-poetry@a783c322200f0519c7926aa6faa857c4e23e9263 # v1 | ||
| with: | ||
| version: 2.2.1 | ||
| - name: Run Tox | ||
| run: tox -e py39 | ||
| py312: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | ||
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔒 Security & Privacy | 🟠 Major | ⚡ Quick win Restrict permissions for the affected tox jobs.
🧰 Tools🪛 zizmor (1.26.1)[warning] 28-28: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false (artipacked) 📍 Affects 1 file
🤖 Prompt for AI AgentsSource: Linters/SAST tools |
||
| - name: Setup Python | ||
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 | ||
| uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 | ||
| with: | ||
| python-version: "3.12" | ||
| - name: Install Tox | ||
| run: pip install tox | ||
| - name: Install Poetry | ||
| uses: snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1 | ||
| uses: snok/install-poetry@a783c322200f0519c7926aa6faa857c4e23e9263 # v1 | ||
| - name: Run Tox | ||
| run: tox -e py312 | ||
| py313: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | ||
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 | ||
| - name: Setup Python | ||
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 | ||
| uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 | ||
| with: | ||
| python-version: "3.13" | ||
| - name: Install Tox | ||
| run: pip install tox | ||
| - name: Install Poetry | ||
| uses: snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1 | ||
| uses: snok/install-poetry@a783c322200f0519c7926aa6faa857c4e23e9263 # v1 | ||
| - name: Run Tox | ||
| run: tox -e py313 | ||
| static: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | ||
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 | ||
| - name: Setup Python | ||
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 | ||
| uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 | ||
| with: | ||
| python-version: "3.13" | ||
| - name: Install Tox | ||
| run: pip install tox | ||
| - name: Install Poetry | ||
| uses: snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1 | ||
| uses: snok/install-poetry@a783c322200f0519c7926aa6faa857c4e23e9263 # v1 | ||
| - name: Run Tox | ||
| run: tox -e static | ||
| coverage: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| id-token: write | ||
| steps: | ||
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | ||
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 | ||
| - name: Setup Python | ||
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 | ||
| uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 | ||
| with: | ||
| python-version: "3.13" | ||
| - name: Install Tox | ||
| run: pip install tox | ||
| - name: Install Poetry | ||
| uses: snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1 | ||
| uses: snok/install-poetry@a783c322200f0519c7926aa6faa857c4e23e9263 # v1 | ||
| - name: Run Tox | ||
| run: tox -e cov | ||
| - name: Install pytest cov | ||
| run: poetry run python -m pip install pytest-cov | ||
| - name: Upload coverage to Codecov | ||
| uses: codecov/codecov-action@v5 | ||
| uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7 | ||
| with: | ||
| use_oidc: true | ||
| flags: unit-tests | ||
|
|
@@ -93,28 +93,28 @@ jobs: | |
| bandit: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | ||
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 | ||
| - name: Setup Python | ||
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 | ||
| uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 | ||
| with: | ||
| python-version: "3.13" | ||
| - name: Install Tox | ||
| run: pip install tox | ||
| - name: Install Poetry | ||
| uses: snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1 | ||
| uses: snok/install-poetry@a783c322200f0519c7926aa6faa857c4e23e9263 # v1 | ||
| - name: Run Tox | ||
| run: tox -e bandit | ||
| bandit-exitzero: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | ||
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 | ||
| - name: Setup Python | ||
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 | ||
| uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 | ||
| with: | ||
| python-version: "3.13" | ||
| - name: Install Tox | ||
| run: pip install tox | ||
| - name: Install Poetry | ||
| uses: snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1 | ||
| uses: snok/install-poetry@a783c322200f0519c7926aa6faa857c4e23e9263 # v1 | ||
| - name: Run Tox | ||
| run: tox -e bandit-exitzero | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔒 Security & Privacy | 🟠 Major | ⚡ Quick win
Disable persisted checkout credentials across all workflows.
Every listed checkout step leaves the GitHub token in local Git configuration while repository-controlled commands execute.
.github/workflows/docs.yml#L13-L13: addpersist-credentials: false..github/workflows/mypy.yml#L13-L13: addpersist-credentials: false..github/workflows/tox-test.yml#L12-L12: addpersist-credentials: false..github/workflows/tox-test.yml#L28-L28: addpersist-credentials: false..github/workflows/tox-test.yml#L42-L42: addpersist-credentials: false..github/workflows/tox-test.yml#L56-L56: addpersist-credentials: false..github/workflows/tox-test.yml#L72-L72: addpersist-credentials: false..github/workflows/tox-test.yml#L96-L96: addpersist-credentials: false..github/workflows/tox-test.yml#L110-L110: addpersist-credentials: false.🧰 Tools
🪛 zizmor (1.26.1)
[warning] 13-13: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false
(artipacked)
📍 Affects 3 files
.github/workflows/docs.yml#L13-L13(this comment).github/workflows/mypy.yml#L13-L13.github/workflows/tox-test.yml#L12-L12.github/workflows/tox-test.yml#L28-L28.github/workflows/tox-test.yml#L42-L42.github/workflows/tox-test.yml#L56-L56.github/workflows/tox-test.yml#L72-L72.github/workflows/tox-test.yml#L96-L96.github/workflows/tox-test.yml#L110-L110🤖 Prompt for AI Agents
Source: Linters/SAST tools