From 163c9e2a5d3ca6b6e9022d8c1a69e33dca498fec Mon Sep 17 00:00:00 2001 From: ryoppippi <1560508+ryoppippi@users.noreply.github.com> Date: Tue, 25 Jun 2024 11:17:44 +0100 Subject: [PATCH] feat: update permissions in release.yaml This commit moves the permissions block for contents read and id-token write from the second job to the first job in the GitHub Actions workflow. This change ensures that the permissions are set correctly for the workflow. --- .github/workflows/release.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0d878d71..7bc460c2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -11,6 +11,9 @@ permissions: jobs: jsr: runs-on: ubuntu-latest + permissions: + contents: read + id-token: write steps: - uses: actions/checkout@v4 with: @@ -26,11 +29,6 @@ jobs: needs: - jsr runs-on: ubuntu-latest - - permissions: - contents: read - id-token: write - steps: - uses: actions/checkout@v4 with: