Skip to content

Commit

Permalink
ci: remove permissions declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
radiovisual committed Oct 20, 2024
1 parent d4fce4e commit 25967cd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ name: Publish Package to npmjs
on:
release:
types: [created]
# Permissions set for the GITHUB_TOKEN (these might also be set on the GitHub Account)
permissions:
contents: write
pull-requests: write
jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -63,7 +59,7 @@ jobs:

# Auto-merge the Pull Request with the version bump if the release is not a pre-release
- name: Enable Auto-Merge
if: success() && env.IS_PRE_RELEASE == 'false' && steps.create_pull_request.outputs.pull-request-number
if: success() && env.IS_PRE_RELEASE == 'false'
uses: peter-evans/enable-pull-request-automerge@v3
with:
pull-request-number: ${{ steps.create_pull_request.outputs.pull-request-number }}
Expand Down

0 comments on commit 25967cd

Please sign in to comment.