Skip to content

Commit

Permalink
Merge pull request #301 from nearform/fix-switch-optic-release-automa…
Browse files Browse the repository at this point in the history
…tion-action-org

switch the org for optic-release-automation-action
  • Loading branch information
simoneb committed Mar 31, 2023
2 parents 2c36150 + e3c831c commit 70dbd0e
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 @@ -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

0 comments on commit 70dbd0e

Please sign in to comment.