We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5b7195 commit 32e55f3Copy full SHA for 32e55f3
.github/workflows/google-rpc-status-synced.yml
@@ -10,9 +10,12 @@ jobs:
10
- uses: actions/checkout@v5
11
- run: ./proto/update_google_rpc_status.sh
12
- run: |
13
- if git diff --exit-code proto/google/rpc/status.proto; then
14
- exit 0
+ DIFF=$(git diff proto/google/rpc/status.proto)
+ if [ -n "$DIFF" ]; then
15
+ echo "$DIFF"
16
+ echo ""
17
+ echo "ERROR: proto/google/rpc/status.proto is not synced with upstream."
18
+ echo "Please run ./proto/update_google_rpc_status.sh to fix it."
19
+ exit 1
20
fi
- echo "Error: google/rpc/status.proto is not synced with upstream."
- echo "Please run `./proto/update_google_rpc_status.sh` to fix it."
- exit 1
21
+ echo "SUCCESS: proto/google/rpc/status.proto is synced with upstream."
0 commit comments