From 483fbde09753180d21d38d2be347a79e50ded0e4 Mon Sep 17 00:00:00 2001 From: Dan Rice Date: Tue, 10 May 2022 23:15:48 -0400 Subject: [PATCH] Fix permissions of publish workflow --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1a7a244..e2b6481 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,6 +22,8 @@ jobs: if: github.ref == 'refs/heads/main' needs: build runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/download-artifact@v3 with: @@ -31,5 +33,3 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: _dist - permissions: - contents: write