8000 Fail start-proxy PR check if outputs are not set · github/codeql-action@38fd34c · GitHub
[go: up one dir, main page]

Skip to content

Commit 38fd34c

Browse files
committed
Fail start-proxy PR check if outputs are not set
1 parent 0de662d commit 38fd34c

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/workflows/__start-proxy.yml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pr-checks/checks/start-proxy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,7 @@ steps:
1919
echo "${{ steps.proxy.outputs.proxy_host }}"
2020
echo "${{ steps.proxy.outputs.proxy_port }}"
2121
echo "${{ steps.proxy.outputs.proxy_urls }}"
22+
23+
- name: Fail if proxy outputs are not set
24+
if: (!steps.proxy.outputs.proxy_host) || (!steps.proxy.outputs.proxy_port) || (!steps.proxy.outputs.proxy_ca_certificate) || (!steps.proxy.outputs.proxy_urls)
25+
run: exit 1

0 commit comments

Comments
 (0)
0