You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It only makes sense during PRs, since its function is to make sure that
the PR contains the `breaking change` label if there's a breaking
change.
Previously, it would run (and fail) on main. Not good!
if [[ "$breaking_change_label_count" != 1 ]]; then
115
-
echo "::error title=semver-checks::semver-checks found breaking changes, but the 'breaking change' label isn't applied. Please add that label."
116
-
exit 1
117
-
else
118
-
echo "::warning title=semver-checks::semver-checks found breaking changes. The 'breaking change' label is applied, so no action needed if this is an acceptable change."
if [[ "$breaking_change_label_count" != 1 ]]; then
35
+
echo "::error title=semver-checks::semver-checks found breaking changes, but the 'breaking change' label isn't applied. Please add that label."
36
+
exit 1
37
+
else
38
+
echo "::warning title=semver-checks::semver-checks found breaking changes. The 'breaking change' label is applied, so no action needed if this is an acceptable change."
0 commit comments