Adding PR URL as output.

This commit is contained in:
2025-11-05 15:01:42 -05:00
parent 6b075b98a2
commit 856a0a597a
+3 -2
View File
@@ -37,7 +37,7 @@ outputs:
value: ${{ steps.set-pr-output.outputs.pr_number }}
pr_url:
description: The URL for the PR index/number that exists or was created
value: ${{ steps.pr-creation.outputs.pr_url }}
value: ${{ steps.set-pr-output.outputs.pr_url }}
runs:
using: "composite"
@@ -140,8 +140,9 @@ runs:
run: |
if [ -n "$EXISTING_PR" ]; then
echo "pr_number=$EXISTING_PR" >> $GITHUB_OUTPUT
echo "pr_url=$"
echo "pr_url=$EXISTING_URL" >> $GITHUB_OUTPUT
else
echo "pr_number=$CREATED_PR" >> $GITHUB_OUTPUT
echo "pr_url=$CREATED_URL" >> $GITHUB_OUTPUT
fi