From fbaad795a064f1c2eea72c8023c58f0d2236e7f6 Mon Sep 17 00:00:00 2001 From: Matheus Afonso de Souza <42722634+Matheusafonsouza@users.noreply.github.com> Date: Thu, 5 Dec 2024 22:38:44 -0300 Subject: [PATCH] chore: use correct key (#4) --- .github/workflows/metrics.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/metrics.yml b/.github/workflows/metrics.yml index e386807..d62995d 100644 --- a/.github/workflows/metrics.yml +++ b/.github/workflows/metrics.yml @@ -24,7 +24,7 @@ jobs: - name: Cria arquivo .env run: | touch ./sonar_scripts/.env - echo GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} >> ./sonar_scripts/.env + echo GITHUB_TOKEN=${{ secrets.API_TOKEN_GITHUB }} >> ./sonar_scripts/.env echo RELEASE_MAJOR=${{ contains(github.event.pull_request.labels.*.name, 'MAJOR RELEASE') }} >> ./sonar_scripts/.env echo RELEASE_MINOR=${{ contains(github.event.pull_request.labels.*.name, 'MINOR RELEASE') }} >> ./sonar_scripts/.env echo RELEASE_FIX=${{ contains(github.event.pull_request.labels.*.name, 'FIX RELEASE') }} >> ./sonar_scripts/.env @@ -42,7 +42,7 @@ jobs: run: | git config --global user.email "${{secrets.USER_EMAIL}}" git config --global user.name "${{secrets.USER_NAME}}" - git clone --single-branch --branch main "https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/fga-eps-mds/${{ secrets.REPO_DOC }}" doc + git clone --single-branch --branch main "https://x-access-token:${{ secrets.API_TOKEN_GITHUB }}@github.com/fga-eps-mds/${{ secrets.REPO_DOC }}" doc mkdir -p doc/analytics-raw-data cp -R analytics-raw-data/*.json doc/analytics-raw-data cd doc