Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
${{ toJson(github) }}
EOF_GITHUB_CONTEXT

- uses: release-drafter/release-drafter/autolabeler@eada3c96a64734dd381cfbda23511034e328ddb0 # v7
- uses: release-drafter/release-drafter/autolabeler@34d80673e067bdc0c24568d3af899c216adcfaa9 # v7

- name: Verify PR label action
if: github.event_name != 'merge_group'
Expand All @@ -63,7 +63,7 @@ jobs:

- name: Update release notes if this is already merged
if: github.event.pull_request.merged == true
uses: release-drafter/release-drafter@eada3c96a64734dd381cfbda23511034e328ddb0 # v7
uses: release-drafter/release-drafter@34d80673e067bdc0c24568d3af899c216adcfaa9 # v7
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
contents: write # release-drafter updates draft releases
pull-requests: read
steps:
- uses: release-drafter/release-drafter@eada3c96a64734dd381cfbda23511034e328ddb0 # v7
- uses: release-drafter/release-drafter@34d80673e067bdc0c24568d3af899c216adcfaa9 # v7
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push_network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
token: ${{ secrets.BOT_PAT }}

- name: Install the latest version of uv
uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
with:
python-version: "3.14"

Expand All @@ -51,7 +51,7 @@ jobs:

- name: Run release drafter
id: release_drafter
uses: release-drafter/release-drafter@eada3c96a64734dd381cfbda23511034e328ddb0 # v7
uses: release-drafter/release-drafter@34d80673e067bdc0c24568d3af899c216adcfaa9 # v7
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

steps:
- name: Install the latest version of uv
uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
with:
python-version: "3.14"

Expand All @@ -44,4 +44,4 @@ jobs:
- name: Build dists
run: tox -e pkg
- name: Publish to pypi.org
uses: pypa/gh-action-pypi-publish@ba38be9e461d3875417946c167d0b5f3d385a247 # v1.14.1
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
4 changes: 2 additions & 2 deletions .github/workflows/release_collection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ permissions:
jobs:
release_automation_hub:
# Pin by SHA for OpenSSF Scorecard Pinned-Dependencies (cross-repo callers need owner/repo@ref).
uses: ansible/team-devtools/.github/workflows/release_ah.yml@52cd2a024bb3d3a22bba5d9169798bb9b13848a4 # main
uses: ansible/team-devtools/.github/workflows/release_ah.yml@48758451586579cc821bf9bfed725e3cab5a6050 # main
with:
environment: release
secrets:
ah_token: ${{ secrets.ah_token }}

release_galaxy:
# Keep in sync with release_automation_hub pin when release_galaxy.yml changes.
uses: ansible/team-devtools/.github/workflows/release_galaxy.yml@52cd2a024bb3d3a22bba5d9169798bb9b13848a4 # main
uses: ansible/team-devtools/.github/workflows/release_galaxy.yml@48758451586579cc821bf9bfed725e3cab5a6050 # main
needs: [release_automation_hub]
with:
environment: release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ jobs:

# Upload the results to GitHub's code scanning dashboard (optional).
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@7188fc363630916deb702c7fdcf4e481b751f97a # v4.37.1
uses: github/codeql-action/upload-sarif@ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd # v4.37.7
with:
sarif_file: results.sarif
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ jobs:
ref: ${{ github.head_ref }}
token: ${{ secrets.BOT_PAT }}

- uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
- uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0

- uses: j178/prek-action@5337cb91e0fa35a7ff31b9ca345126d8bbbcdf16 # v2.0.6
- uses: j178/prek-action@4e14d07f9231acabce116ccfca13b13dd9755ece # v3.0.0
id: prek
with:
extra-args: --config .pre-commit-config.yaml --all-files
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:

- name: Determine matrix
id: generate_matrix
uses: ansible/actions/matrix@a4a333cdfd95bfe9dae231fc5c7fca6d3008f2c2 # main
uses: ansible/actions/matrix@1c115996659fea12d8bae45be5dbed05d32672b1 # main
with:
min_python: ${{ inputs.min_python }}
max_python: ${{ inputs.max_python }}
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
key: prek-${{ matrix.name }}-${{ hashFiles('.pre-commit-config.yaml') }}

- name: Install the latest version of uv
uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
with:
python-version: ${{ matrix.uv_python_version || '3.12' }}

Expand Down Expand Up @@ -248,7 +248,7 @@ jobs:

- name: Archive logs and coverage data
if: always()
uses: ansible/actions/upload-artifact@a4a333cdfd95bfe9dae231fc5c7fca6d3008f2c2 # main
uses: ansible/actions/upload-artifact@1c115996659fea12d8bae45be5dbed05d32672b1 # main
with:
name: logs-${{ matrix.name }}.zip
include-hidden-files: true
Expand Down Expand Up @@ -316,7 +316,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7

- name: Install the latest version of uv
uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0

- name: Save PR number
if: github.event_name == 'pull_request'
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repos:
- id: check-useless-excludes
priority: 0
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.11.32
rev: 0.12.5
hooks:
- id: uv-sync
priority: 0
Expand All @@ -25,7 +25,7 @@ repos:
args: ["--upgrade"]
stages: [manual]
- repo: https://github.com/biomejs/pre-commit
rev: "v2.5.5"
rev: "v2.5.8"
hooks:
- id: biome-check
priority: 1
Expand Down Expand Up @@ -53,7 +53,7 @@ repos:
- id: check-merge-conflict
priority: 0
- repo: https://github.com/tombi-toml/tombi-pre-commit
rev: v1.2.4
rev: v1.4.0
hooks:
- id: tombi-format
alias: toml
Expand Down
10 changes: 1 addition & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,7 @@ relative_files = true # needed by sonarcloud
source = ["src"]

[tool.mypy]
exclude = [
"build/",
".tox/",
".cache/",
".pytest_cache/",
".ruff_cache/",
".mypy_cache/",
".venv"
]
exclude = ["build/", ".tox/", ".cache/", ".pytest_cache/", ".ruff_cache/", ".mypy_cache/", ".venv"]
files = ["src", "test"]
strict = true

Expand Down
Loading
Loading