@@ -109,6 +109,19 @@ jobs:
109109 git push origin $CLK_NEXT_BRANCH
110110 git push origin $TMP_CLK_NEXT_BRANCH
111111
112+ # Check for config changes
113+ # Look for a commit at HEAD with message like "[CIQ] v6.12.29 - rebased configs"
114+ # that matches the stable version we're rebasing onto
115+ HEAD_COMMIT_MSG=$(git log -1 --format=%s HEAD)
116+ if echo "$HEAD_COMMIT_MSG" | grep -qF "[CIQ] v${STABLE_VERSION} - rebased configs"; then
117+ echo "Config change commit detected for v${STABLE_VERSION}"
118+ # Extract the config changes from the commit
119+ git show HEAD --stat > ../config_changes.txt
120+ else
121+ echo "No config change commit detected for v${STABLE_VERSION}"
122+ echo "None" > ../config_changes.txt
123+ fi
124+
112125 # Save data for PR creation
113126 echo "$STABLE_VERSION" > ../stable_version.txt
114127 echo "$OK_TESTS" > ../ok_tests.txt
@@ -140,6 +153,7 @@ jobs:
140153
141154 STABLE_VERSION=$(cat ../stable_version.txt)
142155 OK_TESTS=$(cat ../ok_tests.txt)
156+ CONFIG_CHANGES=$(cat ../config_changes.txt)
143157
144158 # Extract abbreviated build log (first 20 and last 20 lines)
145159 #BUILD_LOG_SUMMARY=$(head -20 ../build.log && echo "" && echo "[snip]" && echo "" && tail -20 ../build.log)
@@ -155,6 +169,11 @@ jobs:
155169 cat > /tmp/pr_body.md <<EOF
156170 ## Automated Rebase to v${STABLE_VERSION}
157171
172+ ### Config Changes
173+ \`\`\`
174+ ${CONFIG_CHANGES}
175+ \`\`\`
176+
158177 ### Build Log
159178 \`\`\`
160179 ${BUILD_LOG_SUMMARY}
0 commit comments