diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1082a7d4..d828b564 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,7 +47,7 @@ jobs: path: dist/* test: name: Upload to Test PyPI - permissions: + permissions: id-token: write needs: [build] runs-on: ubuntu-latest @@ -76,7 +76,7 @@ jobs: publish: environment: release - permissions: + permissions: id-token: write name: Upload release to PyPI needs: [build, test] diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3f5e1223..72287e1b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,7 +25,7 @@ repos: exclude: &exclude_pattern 'iv_weak_instruments.ipynb' args: ["--maxkb=1500"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.1 + rev: v0.6.2 hooks: # Run the linter - id: ruff