Skip to content

Commit

Permalink
fix: using token for both jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
germa89 committed Jul 8, 2024
1 parent 4a67534 commit 283916f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 283916f

Please sign in to comment.