From 283916f620ddf261f37659ecc4779be008c28df4 Mon Sep 17 00:00:00 2001 From: German <28149841+germa89@users.noreply.github.com> Date: Mon, 8 Jul 2024 12:00:17 +0200 Subject: [PATCH] fix: using token for both jobs --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5021892560..5a1486c978 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -334,8 +334,7 @@ jobs: if: github.ref != 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} - permissions: - discussions: read + steps: - name: "Install Git and checkout project" uses: actions/checkout@v4.1.7 @@ -569,7 +568,7 @@ jobs: username: ${{ github.actor }} organization: ansys team: 'pymapdl-developers' - GITHUB_TOKEN: ${{ secrets.PYANSYS_CI_BOT_TOKEN }} + GITHUB_TOKEN: ${{ secrets.TOKEN_TEAMS_USER_READ }} - id: set-matrix env: