updated dry-run.yml

This commit is contained in:
Prox 2026-03-06 17:54:35 +02:00
parent 6704ecf74e
commit 312423c0c7

View File

@ -96,11 +96,11 @@ jobs:
- name: Post PR comment
if: steps.plan.outputs.response != '{}'
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
run: |
curl -sf \
-X POST \
-H "Authorization: token ${GITEA_TOKEN}" \
-H "Authorization: token ${GIT_TOKEN}" \
-H "Content-Type: application/json" \
-d "{\"body\": $(echo '${{ steps.format.outputs.comment }}' | jq -Rs .)}" \
"${{ secrets.GITEA_URL }}/api/v1/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments"
"${{ secrets.GIT_URL }}/api/v1/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments"