File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1- name : Publish to NPM
1+ name : Publish to NPM & Github
22on :
33 pull_request :
44 types :
77 - main
88 - rel/**
99
10+ permissions :
11+ id-token : write # Required for OIDC
12+ contents : write
13+
1014jobs :
1115 publish :
1216 if : |
1317 github.event.pull_request.merged == true &&
1418 contains(github.event.pull_request.title, 'chore: Release')
15- uses : OneSignal/sdk-actions/.github/workflows/npm-publish .yml@main
19+ uses : OneSignal/sdk-actions/.github/workflows/publish- npm-github .yml@main
1620 with :
1721 branch : ${{ github.event.pull_request.base.ref }}
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ jobs:
129129 git config user.name "github-actions[bot]"
130130 git config user.email "github-actions[bot]@users.noreply.github.com"
131131
132- # Update package.json version & lockfile
132+ # Update package.json version
133133 bun pm pkg set version="$NEW_VERSION"
134134
135135 git add .
You can’t perform that action at this time.
0 commit comments