Skip to content

Commit

Permalink
added temporary error handling of ghtoken escape
Browse files Browse the repository at this point in the history
Signed-off-by: Dipankar Das <[email protected]>
  • Loading branch information
dipankardas011 committed Jun 19, 2024
1 parent cd1b1f5 commit 2cc57f3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/project-trigger.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ workflow_organization_name="cncf-tags"
workflow_project_name="green-reviews-tooling"
workflow_dispatcher_file_name="dispatch.yaml"

if [ -z "$gh_token" ]; then
echo "[FATL] GH_TOKEN not set"
exit 20
fi
# if [ -z "$gh_token" ]; then
# echo "[FATL] GH_TOKEN not set"
# exit 20
# fi

jq -c '.projects[]' "$json_file" | while read -r project; do
proj_name=$(echo "$project" | jq -r '.name')
Expand Down

0 comments on commit 2cc57f3

Please sign in to comment.