Skip to content

Commit

Permalink
fix: optic release action permissions (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
grantmorrison committed May 5, 2023
1 parent 0fe8770 commit 980e1cc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: release

on:
workflow_dispatch:
inputs:
Expand All @@ -18,14 +17,14 @@ on:
jobs:
release:
permissions:
pull-requests: write
contents: write
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: nearform-actions/optic-release-automation-action@v4
with:
semver: ${{ github.event.inputs.semver }}
commit-message: "chore: release {version}"
commit-message: 'chore: release {version}'
build-command: |
npm run update-version

0 comments on commit 980e1cc

Please sign in to comment.