Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2b94e8 commit 1cf2530Copy full SHA for 1cf2530
1 file changed
.github/workflows/post-pr-comment.yml
@@ -48,10 +48,10 @@ jobs:
48
if [ -z "$COMMENT_ID" ]
49
then
50
# Create new comment
51
- jq --rawfile body comment_body.txt '{"body":$body}' -n | gh api "repos/${{ github.repository }}/issues/${PR_NUMBER}/comments" -X POST --input -
+ jq --rawfile body comment_body.txt '{"body":$body}' -n | gh api "repos/${GITHUB_REPOSITORY}/issues/${PR_NUMBER}/comments" -X POST --input -
52
else
53
# Update existing comment
54
- jq --rawfile body comment_body.txt '{"body":$body}' -n | gh api "repos/${{ github.repository }}/issues/comments/${COMMENT_ID}" -X PATCH --input -
+ jq --rawfile body comment_body.txt '{"body":$body}' -n | gh api "repos/${GITHUB_REPOSITORY}/issues/comments/${COMMENT_ID}" -X PATCH --input -
55
fi
56
env:
57
GITHUB_TOKEN: ${{ github.token }}
0 commit comments