Skip to content

Commit

Permalink
Revert "fix(action_integration_test): Fix token variable assignment."
Browse files Browse the repository at this point in the history
This reverts commit d488e16.
  • Loading branch information
Noahnc committed Nov 30, 2023
1 parent d488e16 commit 08820a3
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 "token=${{ secrets.PAT_GITHUB }}" >> $GITHUB_OUTPUT
echo "::set-output name=token::${{ secrets.PAT_GITHUB }}"
else
echo "Secret PAT_GITHUB is not set, actions default token GITHUB_TOKEN"
echo "token=${{ github.token }}" >> $GITHUB_OUTPUT
echo "::set-output name=token::${{ github.token }}"
fi
fi
Expand Down

0 comments on commit 08820a3

Please sign in to comment.