From f9e5c9de5b0387ec0232dd4adbca68ccd820685c Mon Sep 17 00:00:00 2001 From: Eric Joanis Date: Wed, 5 Jun 2024 16:51:49 -0400 Subject: [PATCH] fix(ci): write permission required for deploy too --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 362ab2a8..fe33f4a2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,9 @@ on: tags: - v[0-9]+.[0-9]+.[0-9]+ +permissions: + contents: write + jobs: test: uses: ./.github/workflows/end-to-end-tests.yml @@ -17,8 +20,6 @@ jobs: publish: runs-on: ubuntu-20.04 needs: test - permissions: - contents: write steps: - uses: actions/checkout@v4 - name: Stop early if the tag fails any validation