diff --git a/.github/workflows/semver-checks-pr-label.yml b/.github/workflows/semver-checks-pr-label.yml index cab9b65f5..56ce356de 100644 --- a/.github/workflows/semver-checks-pr-label.yml +++ b/.github/workflows/semver-checks-pr-label.yml @@ -73,7 +73,7 @@ jobs: owner: context.repo.owner, repo: context.repo.repo, issue_number: issue_number, - body: ':rotating_light: API BREAKING CHANGE DETECTED' + body: ':rotating_light: API BREAKING CHANGE DETECTED\n\nTo see the changes click details on "Check semver breaks / PR Semver - stable toolchain" job then expand "Run semver checker script" and scroll to the end of the section.' }); // add the label to the PR diff --git a/contrib/check-semver-feature.sh b/contrib/check-semver-feature.sh index 1bdf8ad1f..8527a8bc9 100755 --- a/contrib/check-semver-feature.sh +++ b/contrib/check-semver-feature.sh @@ -112,6 +112,7 @@ check_for_non_additive_cargo_features() { if grep -q "FAIL" "$file"; then echo "You have introduced non-additive cargo features" echo "FAIL found in $file" + cat "$file" # flag it as a breaking change # Handle the case where FAIL is found touch non-additive-cargo @@ -133,4 +134,4 @@ err() { # Main script # main "$@" -exit 0 \ No newline at end of file +exit 0 diff --git a/contrib/check-semver-pr.sh b/contrib/check-semver-pr.sh index 5d184ce69..4c83b1f1f 100755 --- a/contrib/check-semver-pr.sh +++ b/contrib/check-semver-pr.sh @@ -175,6 +175,7 @@ check_for_breaking_changes() { if grep -q "FAIL" "$file"; then echo "You have introduced changes to the public API" echo "FAIL found in $file" + cat "$file" # flag it as a breaking change # Handle the case where FAIL is found touch semver-break @@ -189,4 +190,4 @@ check_for_breaking_changes() { # Main script # main "$@" -exit 0 \ No newline at end of file +exit 0