We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b61be79 commit 828d972Copy full SHA for 828d972
.github/actions/create-pr/action.yml
@@ -75,6 +75,11 @@ runs:
75
echo "Found existing open PR: $PR_NUMBERS"
76
exit 0
77
fi
78
+ echo "=== rate limit ==="
79
+ gh api https://api.github.com/rate_limit
80
+ echo "=== user ==="
81
+ gh api user
82
+ echo "=== Creating new PR ==="
83
gh pr create --head "$HEAD_BRANCH" --base "$BASE_BRANCH" --title "$TITLE" --body "$BODY" --assignee ${{ github.actor }} --draft
84
if [[ $? -ne 0 ]]; then
85
echo "Failed to create new PR."
0 commit comments