You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo "::error::You checked 'docs added' but didn't include a valid HTTPS PR link to netbirdio/docs (e.g., https://github.com/netbirdio/docs/pull/1234)."
62
75
exit 1
63
76
fi
64
77
65
-
pr_number=$(echo "$url" | sed -E 's#.*/pull/([0-9]+)$#\1#')
66
-
echo "url=$url" >> $GITHUB_OUTPUT
67
-
echo "pr_number=$pr_number" >> $GITHUB_OUTPUT
78
+
pr_number="$(printf '%s' "$url" | sed -E 's#.*/pull/([0-9]+)$#\1#')"
79
+
{
80
+
echo "url=$url"
81
+
echo "pr_number=$pr_number"
82
+
} >> "$GITHUB_OUTPUT"
68
83
69
84
- name: Verify docs PR exists (and is open or merged)
0 commit comments