✏️ Remove exit status if event action is push
This commit is contained in:
@@ -6,7 +6,7 @@ if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
|
|||||||
EVENT_ACTION=$(jq -r ".action" "${GITHUB_EVENT_PATH}")
|
EVENT_ACTION=$(jq -r ".action" "${GITHUB_EVENT_PATH}")
|
||||||
if [[ "${EVENT_ACTION}" != "opened" ]]; then
|
if [[ "${EVENT_ACTION}" != "opened" ]]; then
|
||||||
echo "No need to run analysis. It is already triggered by the push event."
|
echo "No need to run analysis. It is already triggered by the push event."
|
||||||
exit 78
|
exit
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user