Skip to content

Commit aae1245

Browse files
authored
chore: Update release workflow to use OIDC publish mode (#214)
1 parent f24d888 commit aae1245

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@ jobs:
2525
steps:
2626
- uses: nearform-actions/optic-release-automation-action@v4
2727
with:
28-
npm-token: >-
29-
${{ secrets[format('NPM_TOKEN_{0}', github.actor)] ||
30-
secrets.NPM_TOKEN }}
31-
optic-token: >-
32-
${{ secrets[format('OPTIC_TOKEN_{0}', github.actor)] ||
33-
secrets.OPTIC_TOKEN }}
28+
publish-mode: oidc
3429
semver: ${{ github.event.inputs.semver }}
3530
commit-message: 'chore: release {version}'
36-
provenance: true

0 commit comments

Comments
 (0)