diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4c6c6e1..350044a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,6 +10,8 @@ concurrency: group: tests-${{ github.head_ref || github.ref }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} +permissions: {} + jobs: tests: name: ${{ matrix.os }} / ${{ matrix.python-version }} ${{ matrix.suffix }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ea1de48..ea9aead 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,8 @@ on: release: types: [published] +permissions: {} + jobs: build: name: Build diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4b9d926..e3c5cf6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,17 +22,17 @@ repos: - id: check-docstring-first - repo: https://github.com/pre-commit/pre-commit - rev: v4.0.1 + rev: v4.1.0 hooks: - id: validate_manifest - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.9.1 + rev: v0.9.5 hooks: - id: ruff - id: ruff-format - repo: https://github.com/woodruffw/zizmor-pre-commit - rev: v1.1.1 + rev: v1.3.0 hooks: - id: zizmor