From 2306626182e9940301a03564b2207344a8925d8d Mon Sep 17 00:00:00 2001 From: Allain Magyar Date: Fri, 15 Mar 2024 10:58:09 -0300 Subject: [PATCH] test: updates github actor and token in perf pipeline Signed-off-by: Allain Magyar --- .github/workflows/performance-tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/performance-tests.yml b/.github/workflows/performance-tests.yml index 88ce05e44e..b572a775f2 100644 --- a/.github/workflows/performance-tests.yml +++ b/.github/workflows/performance-tests.yml @@ -14,6 +14,8 @@ on: env: BENCHMARKING_DIR: "tests/performance-tests/atala-performance-tests-k6" NODE_AUTH_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }} + GITHUB_ACTOR: $${{ ${{ github.actor }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} jobs: run-e2e-tests: @@ -35,8 +37,8 @@ jobs: uses: docker/login-action@v2 with: registry: ghcr.io - username: ${{ secrets.ATALA_GITHUB_ACTOR }} - password: ${{ secrets.ATALA_GITHUB_TOKEN }} + username: ${{ env.GITHUB_ACTOR }} + password: ${{ env.GITHUB_TOKEN }} - uses: KengoTODA/actions-setup-docker-compose@v1 name: Install `docker-compose` @@ -46,8 +48,6 @@ jobs: - name: Build local version of PRISM Agent env: ENV_FILE: "infrastructure/local/.env" - GITHUB_ACTOR: ${{ secrets.ATALA_GITHUB_ACTOR }} - GITHUB_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }} run: | sbt docker:publishLocal PRISM_AGENT_VERSION=$(cut version.sbt -d '=' -f2 | tr -d '" ')