Skip to content

Commit 862760d

Browse files
committed
Fix properties URL validation to correctly extract URL from payload
1 parent 84ec88c commit 862760d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/issue_to_pr.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ jobs:
5757
- name: Validate properties URL
5858
id: validateUrl
5959
run: |
60-
properties_url="${{ fromJson(steps.parseIssue.outputs.payload).properties_url }}"
60+
payload="${{ steps.parseIssue.outputs.payload }}"
61+
properties_url=$(echo "$payload" | jq -r '."Properties File URL"')
6162
if [ -z "$properties_url" ]; then
6263
echo "Properties URL is empty. Please provide a valid URL."
6364
exit 1

0 commit comments

Comments
 (0)