Skip to content

Commit dbab572

Browse files
authored
Reference and require secrets in workflow calls (#29)
1 parent 0197ec0 commit dbab572

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ env:
1313
jobs:
1414
validate:
1515
uses: ./.github/workflows/validate.yml
16+
secrets:
17+
WINSTRUMENTA_E2E_SSH_PRIVATE_KEY: ${{ secrets.WINSTRUMENTA_E2E_SSH_PRIVATE_KEY }}
1618

1719
release-preparation:
1820
runs-on: windows-2022

.github/workflows/validate.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
branches:
99
- main
1010
workflow_call:
11+
secrets:
12+
WINSTRUMENTA_E2E_SSH_PRIVATE_KEY:
13+
required: true
1114

1215
jobs:
1316
check_formatting:

0 commit comments

Comments
 (0)