Skip to content

Commit

Permalink
release - omit token (should be ok by default)
Browse files Browse the repository at this point in the history
  • Loading branch information
murilo-cunha committed Jul 5, 2023
1 parent 6686b79 commit 66c6b86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Package to npmjs
name: Publish package to npmjs
on:
push:
branches: [main]
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ jobs:
- uses: actions/checkout@v3
- run: echo "TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Create release
uses: actions/github-script@v5
uses: actions/github-script@v6
with:
github-token: ${{ github.token }}
script: |
github.rest.repos.createRelease({
owner: context.repo.owner,
Expand Down

0 comments on commit 66c6b86

Please sign in to comment.