mirror of
https://github.com/kitabisa/sonarqube-action.git
synced 2025-11-01 05:34:18 +08:00
✏️ Remove exit status if event action is push
This commit is contained in:
parent
7da9810073
commit
a40c5bc8f6
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user