Skip to content

Commit df8f271

Browse files
committed
log api message
1 parent fb59f0c commit df8f271

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/validate-description.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ jobs:
4141
echo "❌ ERROR: Failed to fetch PR description"
4242
echo ""
4343
44+
if [ -n "$api_message" ]; then
45+
echo "API Message: $api_message"
46+
echo ""
47+
fi
48+
4449
if [[ "$api_message" == *"Not Found"* ]] || [[ "$api_message" == *"404"* ]]; then
4550
echo "Reason: PR not found or GITHUB_TOKEN lacks repository access"
4651
elif [[ "$api_message" == *"Resource not accessible"* ]] || [[ "$api_message" == *"403"* ]]; then

0 commit comments

Comments
 (0)