✏️ Remove exit status if event action is push

This commit is contained in:
Dwi Siswanto 2020-11-09 22:59:28 +07:00
parent 7da9810073
commit a40c5bc8f6

View File

@ -6,7 +6,7 @@ if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
EVENT_ACTION=$(jq -r ".action" "${GITHUB_EVENT_PATH}")
if [[ "${EVENT_ACTION}" != "opened" ]]; then
echo "No need to run analysis. It is already triggered by the push event."
exit 78
exit
fi
fi