Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
Fix shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
masutaka committed Feb 16, 2019
1 parent 52f88cd commit ec02ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ find_column_id() {

PROJECT_TYPE=$(get_project_type "${PROJECT_URL:?<Error> required this environment variable}")

if [ "$PROJECT_TYPE" = org -o "$PROJECT_TYPE" = repo ]; then
if [ "$PROJECT_TYPE" = org ] || [ "$PROJECT_TYPE" = repo ]; then
TOKEN="$MY_GITHUB_TOKEN" # It's User's personal access token. It should be secret.
else
TOKEN="$GITHUB_TOKEN" # GitHub sets. The scope in only the repository containing the workflow file.
Expand Down

0 comments on commit ec02ac7

Please sign in to comment.