From 72000738a0dfae8245cc7256dcbb8d131c53934e Mon Sep 17 00:00:00 2001 From: Rene Schallner Date: Mon, 22 May 2023 03:26:09 +0200 Subject: [PATCH] another attempt to use permissions --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: