diff --git a/.gitea/workflows/dry-run.yml b/.gitea/workflows/dry-run.yml index 537dd33..ac87d1f 100644 --- a/.gitea/workflows/dry-run.yml +++ b/.gitea/workflows/dry-run.yml @@ -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"