Skip to content

Commit 828d972

Browse files
committed
Test
1 parent b61be79 commit 828d972

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/actions/create-pr/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ runs:
7575
echo "Found existing open PR: $PR_NUMBERS"
7676
exit 0
7777
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 ==="
7883
gh pr create --head "$HEAD_BRANCH" --base "$BASE_BRANCH" --title "$TITLE" --body "$BODY" --assignee ${{ github.actor }} --draft
7984
if [[ $? -ne 0 ]]; then
8085
echo "Failed to create new PR."

0 commit comments

Comments
 (0)