Skip to content

passing all secrets into reusable workflow #771

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build-and-run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ env:
jobs:
build-and-run-tests:
uses: ./.github/workflows/build-and-run-tests-from-branch.yml
secrets: inherit


publish-cli-image:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-on-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
uses: ./.github/workflows/build-and-run-tests-from-branch.yml
with:
commit_sha: ${{ github.event.inputs.commit_sha }}
secrets: inherit

publish_on_github_packages:
needs: build-and-run-tests
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/publish-plugin-and-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ on:

jobs:
build_and_run_tests:
uses: ./.github/workflows/build-and-run-tests-from-branch.yml
uses: ./.github/workflows/build-and-run-tests-from-branch.yml
secrets: inherit

publish_plugin_and_cli:
needs: build_and_run_tests
uses: ./.github/workflows/publish-plugin-and-cli-from-branch.yml
secrets: inherit