diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 970daa5..12ff958 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,9 @@ on: jobs: build: runs-on: ubuntu-latest + permissions: + id-token: read|write + contents: read|write steps: - name: Checkout code @@ -46,9 +49,6 @@ jobs: - name: Create Release id: create_release uses: actions/create-release@v1 - permissions: - id-token: read|write - contents: read|write env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions with: