From 980e1ccbd00d6421a7686ac963d1bab0499aedc3 Mon Sep 17 00:00:00 2001 From: Grant Morrison Date: Fri, 5 May 2023 15:35:52 +0100 Subject: [PATCH] fix: optic release action permissions (#50) --- .github/workflows/release.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 98c8fcb..38abc6c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,4 @@ name: release - on: workflow_dispatch: inputs: @@ -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 -