We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5eef1d7 commit e4acfadCopy full SHA for e4acfad
entrypoint.sh
@@ -11,7 +11,7 @@ echo "Checking if a PR command..."
11
(jq -r ".issue.pull_request.url" "$GITHUB_EVENT_PATH") || exit 78
12
13
# get the SHA to revert
14
-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-)
15
16
if [[ "$(jq -r ".action" "$GITHUB_EVENT_PATH")" != "created" ]]; then
17
echo "This is not a new comment event!"
0 commit comments