Skip to content

Commit c351c10

Browse files
add protolock to track proto changes
1 parent 8208707 commit c351c10

File tree

4 files changed

+4731
-1
lines changed

4 files changed

+4731
-1
lines changed

.github/workflows/ci.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,16 @@ jobs:
2222
cd src
2323
dotnet restore
2424
dotnet tool run dotnet-retire
25+
protolock:
26+
runs-on: ubuntu-latest
27+
name: ci/github/protolock
28+
steps:
29+
- name: Checkout
30+
uses: actions/checkout@v2
31+
- name: Protolock Status
32+
shell: bash
33+
run: |
34+
./protolock.sh status --uptodate
2535
docker-compose:
2636
runs-on: ubuntu-latest
2737
name: ci/github/docker-compose
@@ -175,7 +185,7 @@ jobs:
175185
name: test-results-${{ matrix.configuration }}-${{ matrix.os }}
176186
path: test-results
177187
package:
178-
needs: [vulnerability-scan, build, docker-compose]
188+
needs: [vulnerability-scan, build, docker-compose, protolock]
179189
strategy:
180190
fail-fast: false
181191
runs-on: ubuntu-latest

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,7 @@ We attempt to do our best to ensure that the history remains clean and to do so,
9090

9191
If you want to switch to a particular release, you can check out the tag for this particular version. For example:
9292
`git checkout oss-v6.0.0-preview1`
93+
94+
### Proto Changes
95+
96+
If you update the protos, continuous integration will fail. After ensuring the proto change is backwards compatible, please run `./protolock.sh commit` at the root of this repository.

0 commit comments

Comments
 (0)