Skip to content

Commit

Permalink
fix: Inherit secrets in the reusable workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
janjakubnanista committed Nov 16, 2023
1 parent 3d029ee commit 4322c53
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/on-develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ concurrency:
jobs:
check:
uses: ./.github/workflows/reusable-test.yaml
secrets: inherit
2 changes: 2 additions & 0 deletions .github/workflows/on-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ concurrency:
jobs:
check:
uses: ./.github/workflows/reusable-test.yaml
secrets: inherit

publish:
needs: check
uses: ./.github/workflows/reusable-publish.yaml
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/reusable-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:

env:
# This is here because changesets/action will look for the .npmrc
# in HOME folder and if it doesn't fine one there it will create one
# in HOME folder and if it doesn't find one there it will create one
#
# Since we want to make sure it uses our .npmrc we'll just point it
# to our workspace root
Expand Down

0 comments on commit 4322c53

Please sign in to comment.