Skip to content

Commit 0de426c

Browse files
committed
Fix passing secrets to workflow trigger file
1 parent 2af7870 commit 0de426c

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ jobs:
148148
with:
149149
file: ./coverage/coverage-final.json
150150
fail_ci_if_error: true
151-
env:
152-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
151+
token: ${{ secrets.CODECOV_TOKEN }}
153152

154153
test:
155154
name: Run tests on Node v${{ matrix.node_version_to_setup }}

.github/workflows/pull_request.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on: pull_request
33
jobs:
44
ci:
55
uses: ./.github/workflows/ci.yml
6+
secrets:
7+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
68

79
diff-npm-package:
810
name: Diff content of NPM package

.github/workflows/push.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on: push
33
jobs:
44
ci:
55
uses: ./.github/workflows/ci.yml
6+
secrets:
7+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
68
deploy-to-npm-branch:
79
name: Deploy to `npm` branch
810
needs: ci

0 commit comments

Comments
 (0)