Skip to content

Commit

Permalink
Fix: Provide json to jq
Browse files Browse the repository at this point in the history
  • Loading branch information
ParanoidBeing committed Apr 2, 2020
1 parent b5b0e66 commit 72ea3d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ set -e
echo "Checking if a PR command..."
(jq -r ".pull_request.url" "$GITHUB_EVENT_PATH") || exit 78

title=$(jq -r ".pull_request.title")
labels=$(jq -r ".pull_request.labels")
title=$(jq -r ".pull_request.title" "$GITHUB_EVENT_PATH")
labels=$(jq -r ".pull_request.labels" "$GITHUB_EVENT_PATH")

checkForBlockingWords(){
if echo $1 | grep -iE 'WIP|do not merge|backend not live'
Expand Down

0 comments on commit 72ea3d0

Please sign in to comment.