diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b759b1..2bbb409 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,6 +51,7 @@ jobs: permissions: # IMPORTANT: this permission is mandatory for Trusted Publishing id-token: write + contents: write steps: - name: Checkout repository uses: actions/checkout@v6 @@ -65,6 +66,8 @@ jobs: run: uv build - name: Create Release + env: + GH_TOKEN: ${{ github.token }} run: | VERSION=$(uv version --short) uv run scriv print --version $VERSION --output release-body