Skip to content

Commit

Permalink
fix(build-test-deploy.yml): whitelist is again case-insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
Xunnamius committed Feb 19, 2021
1 parent b980cbe commit c034e86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
id: owner
run: |
set +e
node -e "process.exit('${{ env.REPO_OWNER_WHITELIST }}'.split(',').some(o => o.trim() == '${{ github.repository_owner }}') ? 0 : 1)"
node -e "process.exit('${{ env.REPO_OWNER_WHITELIST }}'.split(',').some(o => o.trim().toLowerCase() == '${{ github.repository_owner }}'.toLowerCase()) ? 0 : 1)"
echo "::set-output name=is-whitelisted::$([ $? -eq 0 ] && echo 'true' || echo 'false')"
! [ -z "$DEBUG" ] && echo "set-output name=is-whitelisted::$([ $? -eq 0 ] && echo 'true' || echo 'false')" || true
Expand Down

0 comments on commit c034e86

Please sign in to comment.