From 3424fd1fd0604eefdc9eb0f0ef3e6a044b64221f Mon Sep 17 00:00:00 2001 From: Hera Zhao Date: Mon, 6 Apr 2026 21:07:43 +0000 Subject: [PATCH] Fix: use GIT_TOKEN secret (GITEA_TOKEN is reserved) --- .gitea/workflows/preview.yml | 4 ++-- .../da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/preview.yml b/.gitea/workflows/preview.yml index 822aae5..b607110 100644 --- a/.gitea/workflows/preview.yml +++ b/.gitea/workflows/preview.yml @@ -161,7 +161,7 @@ jobs: HOST="pr-${PR_ID}.${BASE_DOMAIN}" curl -s -X POST \ "https://git.euphon.cloud/api/v1/repos/${{ github.repository }}/issues/${PR_ID}/comments" \ - -H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \ + -H "Authorization: token ${{ secrets.GIT_TOKEN }}" \ -H "Content-Type: application/json" \ -d "{\"body\": \"🚀 Preview deployed: https://${HOST}\n\nDB is a copy of production. Changes here won't affect prod.\"}" @@ -185,6 +185,6 @@ jobs: PR_ID="${{ github.event.pull_request.number }}" curl -s -X POST \ "https://git.euphon.cloud/api/v1/repos/${{ github.repository }}/issues/${PR_ID}/comments" \ - -H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \ + -H "Authorization: token ${{ secrets.GIT_TOKEN }}" \ -H "Content-Type: application/json" \ -d "{\"body\": \"🗑️ Preview environment torn down.\"}" diff --git a/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json b/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json index 308f8f5..9d5ef8c 100644 --- a/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +++ b/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json @@ -1 +1 @@ -{"version":"4.1.2","results":[[":frontend/src/__tests__/volumeDilution.test.js",{"duration":5.926774999999992,"failed":false}],[":frontend/src/__tests__/smartPaste.test.js",{"duration":16.112632000000005,"failed":false}],[":frontend/src/__tests__/oilCalculations.test.js",{"duration":11.990026,"failed":false}],[":frontend/src/__tests__/dialog.test.js",{"duration":4.135876999999994,"failed":false}],[":frontend/src/__tests__/oilTranslation.test.js",{"duration":4.413353999999998,"failed":false}]]} \ No newline at end of file +{"version":"4.1.2","results":[[":frontend/src/__tests__/volumeDilution.test.js",{"duration":6.227510999999993,"failed":false}],[":frontend/src/__tests__/smartPaste.test.js",{"duration":14.144011000000006,"failed":false}],[":frontend/src/__tests__/oilCalculations.test.js",{"duration":18.03941499999999,"failed":false}],[":frontend/src/__tests__/dialog.test.js",{"duration":3.7299579999999963,"failed":false}],[":frontend/src/__tests__/oilTranslation.test.js",{"duration":5.783867999999998,"failed":false}]]} \ No newline at end of file