diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a21d490..ec6507b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,12 +17,16 @@ on: jobs: release: + permissions: + pull-requests: write + contents: write runs-on: ubuntu-latest steps: - - uses: nearform/optic-release-automation-action@v4 + - uses: nearform-actions/optic-release-automation-action@v4 with: github-token: ${{ secrets.GITHUB_TOKEN }} npm-token: ${{ secrets[format('NPM_TOKEN_{0}', github.actor)] || secrets.NPM_TOKEN }} optic-token: ${{ secrets[format('OPTIC_TOKEN_{0}', github.actor)] || secrets.OPTIC_TOKEN }} semver: ${{ github.event.inputs.semver }} build-command: npm i +