Skip to content

Commit

Permalink
fix(action_integration_test): Fix token variable assignment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Noahnc committed Nov 30, 2023
1 parent e99cc37 commit d488e16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/action_integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
# Check if the secrets.PAT_GITHUB is set, if not use the default GITHUB_TOKEN
if [ "${{ secrets.PAT_GITHUB }}" != "" ]; then
echo "Secret PAT_GITHUB is set, using it instead of GITHUB_TOKEN"
echo "::set-output name=token::${{ secrets.PAT_GITHUB }}"
echo "token=${{ secrets.PAT_GITHUB }}" >> $GITHUB_OUTPUT
else
echo "Secret PAT_GITHUB is not set, actions default token GITHUB_TOKEN"
echo "::set-output name=token::${{ github.token }}"
echo "token=${{ github.token }}" >> $GITHUB_OUTPUT
fi
fi
Expand Down

0 comments on commit d488e16

Please sign in to comment.