From de59684432cb066b677005e0fbc3d971c42991d2 Mon Sep 17 00:00:00 2001 From: Shaun Arman Date: Fri, 10 Apr 2026 13:04:04 -0500 Subject: [PATCH] fix: rename GITEA_TOKEN to TF_TOKEN to comply with naming restrictions --- .gitea/workflows/pr-review.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/pr-review.yml b/.gitea/workflows/pr-review.yml index 4078e08c..defcc131 100644 --- a/.gitea/workflows/pr-review.yml +++ b/.gitea/workflows/pr-review.yml @@ -53,13 +53,13 @@ jobs: - name: Post review comment if: success() env: - GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} + TF_TOKEN: ${{ secrets.TFT_GITEA_TOKEN }} PR_NUMBER: ${{ github.event.pull_request.number }} run: | if [ -f "/tmp/pr_review.txt" ]; then REVIEW_BODY=$(cat /tmp/pr_review.txt | head -c 65536) curl -s -X POST "https://gogs.tftsr.com/api/v1/repos/sarman/tftsr-devops_investigation/pulls/$PR_NUMBER/reviews" \ - -H "Authorization: token $GITEA_TOKEN" \ + -H "Authorization: token $TF_TOKEN" \ -H "Content-Type: application/json" \ -d "{\"body\": \"🤖 Automated PR Review:\n\n$REVIEW_BODY\n\n---\n*this is an automated review from Ollama*\", \"event\": \"COMMENT\"}" fi