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

Commit

Permalink
Fix wrong condition
Browse files Browse the repository at this point in the history
  • Loading branch information
masutaka committed Feb 16, 2019
1 parent 697b4d6 commit 41009b8
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 ] || [ "$PROJECT_TYPE" = repo ]; then
if [ "$PROJECT_TYPE" = org ] || [ "$PROJECT_TYPE" = user ]; 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 41009b8

Please sign in to comment.