Skip to content

Commit adc1105

Browse files
authored
Forward secret to publish job (#428)
1 parent fa9877b commit adc1105

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/pr.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: "Specklepy test"
22
on:
33
workflow_call:
4+
secrets:
5+
CODECOV_TOKEN:
6+
required: true
47
pull_request:
58
branches:
69
- "main"

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
jobs:
1010
test:
1111
uses: "./.github/workflows/pr.yml"
12+
secrets:
13+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
1214

1315
publish-package:
1416
name: "Build and Publish Python Package"

0 commit comments

Comments
 (0)