We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3611ff commit 175d5f3Copy full SHA for 175d5f3
.github/workflows/cd.yml
@@ -1,4 +1,4 @@
1
-name: Publish to NPM
+name: Publish to NPM & Github
2
on:
3
pull_request:
4
types:
@@ -7,11 +7,15 @@ on:
7
- main
8
- rel/**
9
10
+permissions:
11
+ id-token: write # Required for OIDC
12
+ contents: write
13
+
14
jobs:
15
publish:
16
if: |
17
github.event.pull_request.merged == true &&
18
contains(github.event.pull_request.title, 'chore: Release')
- uses: OneSignal/sdk-actions/.github/workflows/npm-publish.yml@main
19
+ uses: OneSignal/sdk-actions/.github/workflows/publish-npm-github.yml@main
20
with:
21
branch: ${{ github.event.pull_request.base.ref }}
0 commit comments