From ded0ca7f29e8b70dc0c47495da040389dfc611ae Mon Sep 17 00:00:00 2001 From: Cian Butler Date: Sat, 1 Oct 2022 13:44:02 +0100 Subject: [PATCH] set perms for publish to write --- .github/workflows/publish.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4d0b1ad1..5efb7581 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,7 +8,7 @@ jobs: build: runs-on: ubuntu-latest permissions: - contents: read + contents: write packages: write steps: - name: Checkout @@ -37,7 +37,6 @@ jobs: tag_name: 'v%s' tag_message: 'v%s' commit_pattern: "^Release (\\S+)" - publish_args: '--non-interactive' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_AUTH_TOKEN: ${{ secrets.npm_token }} @@ -52,7 +51,6 @@ jobs: with: create_tag: false commit_pattern: "^Release (\\S+)" - publish_args: '--non-interactive' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}