We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 500af72 commit 3af47d5Copy full SHA for 3af47d5
.github/workflows/handle-pr-comment.yml
@@ -56,8 +56,8 @@ jobs:
56
57
PR_NUMBER="${PR_COMMENT_URL%#*}" # skip the suffix with the comment ID
58
PR_NUMBER="${PR_NUMBER##*/}" # skip the prefix before the PR number
59
- PR_REPO="${PR_COMMENT_URL%/$PR_NUMBER*#*}" # skip the suffix including the PR number
60
- PR_REPO="${PR_REPO#https://.*/}"
+ PR_REPO="${PR_COMMENT_URL%/pull/$PR_NUMBER*#*}" # skip the suffix including the PR number
+ PR_REPO="${PR_REPO#https://*/}"
61
62
export GH_TOKEN="${{ secrets.GITHUB_TOKEN }}"
63
eval "$(gh api repos/$PR_REPO/pulls/$PR_NUMBER \
0 commit comments