diff --git a/.forgejo/workflows/tofu-plan-k8s-wheatley.yaml b/.forgejo/workflows/tofu-plan-k8s-wheatley.yaml index 54eedd8..bfc9f58 100644 --- a/.forgejo/workflows/tofu-plan-k8s-wheatley.yaml +++ b/.forgejo/workflows/tofu-plan-k8s-wheatley.yaml @@ -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