Skip to content

Commit

Permalink
Fail start-proxy PR check if outputs are not set
Browse files Browse the repository at this point in the history
  • Loading branch information
mbg committed Dec 13, 2024
1 parent 0de662d commit 38fd34c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/__start-proxy.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions pr-checks/checks/start-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ steps:
echo "${{ steps.proxy.outputs.proxy_host }}"
echo "${{ steps.proxy.outputs.proxy_port }}"
echo "${{ steps.proxy.outputs.proxy_urls }}"
- name: Fail if proxy outputs are not set
if: (!steps.proxy.outputs.proxy_host) || (!steps.proxy.outputs.proxy_port) || (!steps.proxy.outputs.proxy_ca_certificate) || (!steps.proxy.outputs.proxy_urls)
run: exit 1

0 comments on commit 38fd34c

Please sign in to comment.