Skip to content

Commit

Permalink
set perms for publish to write
Browse files Browse the repository at this point in the history
  • Loading branch information
butlerx committed Oct 1, 2022
1 parent 62e7c7c commit ded0ca7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
contents: write
packages: write
steps:
- name: Checkout
Expand Down Expand Up @@ -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 }}
Expand All @@ -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 }}

0 comments on commit ded0ca7

Please sign in to comment.