We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 241a322 commit a7b4c08Copy full SHA for a7b4c08
.github/workflows/issue_to_pr.yml
@@ -54,8 +54,13 @@ jobs:
54
- name: Validate properties URL
55
id: validateUrl
56
run: |
57
- if ! curl --output /dev/null --silent --head --fail "${{ fromJson(steps.parseIssue.outputs.payload).properties_url }}"; then
58
- echo "Url not valid: ${{ fromJson(steps.parseIssue.outputs.payload).properties_url }}"
+ properties_url="${{ fromJson(steps.parseIssue.outputs.payload).properties_url }}"
+ if [ -z "$properties_url" ]; then
59
+ echo "Properties URL is empty. Please provide a valid URL."
60
+ exit 1
61
+ fi
62
+ if ! curl --output /dev/null --silent --head --fail "$properties_url"; then
63
+ echo "Url not valid: $properties_url"
64
exit 1
65
fi
66
0 commit comments