Skip to content

Commit 1b654fa

Browse files
committed
fix: move repo var to parent repo
1 parent a52324c commit 1b654fa

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/reusable-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Release
33
on:
44
workflow_call:
55
secrets:
6+
GITHUB_REPOSITORY:
7+
required: true
68
NPM_TOKEN:
79
required: false
810

@@ -41,7 +43,7 @@ jobs:
4143

4244
- name: Release new version
4345
env:
44-
GITHUB_REPOSITORY: ${{ github.repository }}
46+
GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }}
4547
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4648
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4749
run: npm run release

0 commit comments

Comments
 (0)