Skip to content

Commit eb7a082

Browse files
Nicolas Brieusselclaude
authored andcommitted
fix: use grep -A 2 to show diff details after each "There are changes" line
The change details (JSON diff + description) are logged on the 2 lines immediately after "There are changes for branch", not before it. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 1a0037d commit eb7a082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pr-dry-run.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@ jobs:
6666
run: |
6767
if grep -q "There are changes for branch" /tmp/dry-run.log; then
6868
echo "::warning::Config changes detected — human review required before merging"
69-
grep -E "NOPCOMMAND|There are changes for branch" /tmp/dry-run.log
69+
grep -A 2 "There are changes for branch" /tmp/dry-run.log
7070
exit 1
7171
fi

0 commit comments

Comments
 (0)