Skip to content

Commit

Permalink
switch the org and add permissions for optic-release-automation-action (
Browse files Browse the repository at this point in the history
  • Loading branch information
bredikhin authored Apr 7, 2023
1 parent e94997d commit 3685e59
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,15 @@ on:
jobs:
release:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
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

0 comments on commit 3685e59

Please sign in to comment.