Skip to content

Commit

Permalink
Update release.yml (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
MariamM110 authored Nov 3, 2023
1 parent 7a548eb commit ed8c685
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,22 @@ on:

jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
runs-on: ubuntu-latest
steps:
- 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 }}
commit-message: 'chore: release {version}'
build-command: npm ci
provenance: true

0 comments on commit ed8c685

Please sign in to comment.