Skip to content

Commit

Permalink
Add the money
Browse files Browse the repository at this point in the history
  • Loading branch information
srt32 committed Feb 4, 2019
1 parent 5eef1d7 commit e4acfad
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 @@ -11,7 +11,7 @@ echo "Checking if a PR command..."
(jq -r ".issue.pull_request.url" "$GITHUB_EVENT_PATH") || exit 78

# get the SHA to revert
COMMIT_TO_REVERT=(jq -r ".comment.body" "$GITHUB_EVENT_PATH" | cut -c 9-)
COMMIT_TO_REVERT=$(jq -r ".comment.body" "$GITHUB_EVENT_PATH" | cut -c 9-)

if [[ "$(jq -r ".action" "$GITHUB_EVENT_PATH")" != "created" ]]; then
echo "This is not a new comment event!"
Expand Down

0 comments on commit e4acfad

Please sign in to comment.