pulls
Some checks failed
tofu plan k8s-wheatley / tofu-plan-k8s-wheatley (pull_request) Failing after 23s
Some checks failed
tofu plan k8s-wheatley / tofu-plan-k8s-wheatley (pull_request) Failing after 23s
This commit is contained in:
parent
1b4f09d412
commit
fe457acf6b
1 changed files with 3 additions and 3 deletions
|
|
@ -62,7 +62,7 @@ jobs:
|
|||
echo "Forgejo URL: ${{ forge.server_url }}"
|
||||
echo "Repo: ${{ forge.repository }}"
|
||||
|
||||
url="${{ forge.server_url }}/api/v1/repos/${{ forge.repository }}/issues/$PR_NUMBER/comments"
|
||||
url="${{ forge.server_url }}/api/v1/repos/${{ forge.repository }}/pulls/$PR_NUMBER/comments"
|
||||
|
||||
echo "Requesting: $url"
|
||||
|
||||
|
|
@ -126,12 +126,12 @@ jobs:
|
|||
curl -s -X PATCH \
|
||||
-H "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
"${{ forge.server_url }}/api/v1/repos/${{ forge.repository }}/issues/comments/${{ steps.fetch.outputs.comment_id }}" \
|
||||
"${{ forge.server_url }}/api/v1/repos/${{ forge.repository }}/pulls/comments/${{ steps.fetch.outputs.comment_id }}" \
|
||||
-d "{\"body\":\"$COMMENT_BODY\"}"
|
||||
else
|
||||
curl -s -X POST \
|
||||
-H "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
"${{ forge.server_url }}/api/v1/repos/${{ forge.repository }}/issues/$PR_NUMBER/comments" \
|
||||
"${{ forge.server_url }}/api/v1/repos/${{ forge.repository }}/pulls/$PR_NUMBER/comments" \
|
||||
-d "{\"body\":\"$COMMENT_BODY\"}"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue