diff --git a/.github/workflows/release-on-new-version.yml b/.github/workflows/release-on-new-version.yml index 31c1f6a..2fd1614 100644 --- a/.github/workflows/release-on-new-version.yml +++ b/.github/workflows/release-on-new-version.yml @@ -46,7 +46,7 @@ jobs: runs-on: ubuntu-latest permissions: id-token: write # for PyPI trusted publishing. - contents: read # for PyPI trusted publishing. + contents: write # for creating the GitHub release and tag. steps: - name: Checkout uses: actions/checkout@v6 @@ -68,7 +68,7 @@ jobs: echo "WHEEL_NAME=$(basename "${WHEEL_PATH}")" >> "$GITHUB_OUTPUT" - name: Create Github draft release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: