Skip to content

Commit

Permalink
Reference and require secrets in workflow calls (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gitii authored Mar 8, 2023
1 parent 0197ec0 commit dbab572
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ env:
jobs:
validate:
uses: ./.github/workflows/validate.yml
secrets:
WINSTRUMENTA_E2E_SSH_PRIVATE_KEY: ${{ secrets.WINSTRUMENTA_E2E_SSH_PRIVATE_KEY }}

release-preparation:
runs-on: windows-2022
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
branches:
- main
workflow_call:
secrets:
WINSTRUMENTA_E2E_SSH_PRIVATE_KEY:
required: true

jobs:
check_formatting:
Expand Down

0 comments on commit dbab572

Please sign in to comment.