fix(cliui): Call test-cli-ui workflow from build (#3126)

It seems the workflow_run trigger only calls the workflow as it is on
the default branch (ie `main`). This would make it difficult to make
changes to this workflow and set of tests.

Blame: e76b3b9511
This commit is contained in:
Timothy Messier authored and GitHub committed 2023-03-29 20:27:09 -04:00
1 parent 87b5d1b21c
commit 181f0f1806
2 files changed
+18 -24

No files matched your search

+9
View File
@@ -404,3 +404,12 @@ jobs:
docker-image-name: ${{ needs.build-docker.outputs.name }}
docker-image-file: "boundary_default_linux_amd64_${{ needs.set-product-version.outputs.product-version }}_${{ github.sha }}.docker.dev.tar"
secrets: inherit
bats:
uses: ./.github/workflows/test-cli-ui.yml
if: "! github.event.pull_request.head.repo.fork"
needs:
- set-product-version
- build-linux
with:
product-version: ${{ needs.set-product-version.outputs.product-version }}
secrets: inherit