1 parent 31dedf3 commit ce29d8aCopy full SHA for ce29d8a
1 file changed
.github/workflows/backward-compatible-report.yml
@@ -106,6 +106,17 @@ jobs:
106
run: |
107
java -jar tools/bin/openapi-generator-cli.jar generate -c tools/proto-convert/src/config/protobuf-generator-config.yaml
108
109
+ - name: Check for auto-pr-branch and use its protos if exists
110
+ run: |
111
+ # Check if auto-pr-branch exists
112
+ if git ls-remote --exit-code --heads origin auto-pr-branch > /dev/null 2>&1; then
113
+ echo "Found auto-pr-branch, using its proto files for comparison"
114
+ git fetch origin auto-pr-branch
115
+ git checkout origin/auto-pr-branch -- protos/
116
+ else
117
+ echo "auto-pr-branch not found, using main branch proto files"
118
+ fi
119
+
120
- name: Post Process Protobuf (dry-run for report)
121
id: merge_report
122
0 commit comments