Skip to content

Commit 3b49faa

Browse files
sonicoder86ngabor84
andcommitted
fix(release): pass down secrets
EME-5173 Co-authored-by: Gabor Nemeth <[email protected]>
1 parent 67898be commit 3b49faa

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/workflows/_release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ on:
1010
type: string
1111
required: true
1212

13+
secrets:
14+
SEMANTIC_RELEASE_NPM_TOKEN:
15+
required: true
16+
SEMANTIC_RELEASE_GH_TOKEN:
17+
required: true
18+
1319
jobs:
1420
test:
1521
name: Release package

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ jobs:
2424
with:
2525
NODE_VERSION: ${{ needs.init.outputs.NODE_VERSION }}
2626
NODE_CACHE_KEY: ${{ needs.init.outputs.NODE_CACHE_KEY }}
27+
secrets:
28+
SEMANTIC_RELEASE_NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}
29+
SEMANTIC_RELEASE_GH_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GH_TOKEN }}

0 commit comments

Comments
 (0)