feat: support run_sh
and exec
in enclave builder
#2947
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check proto breaks | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- edited | |
jobs: | |
check-proto-break: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '1.20' | |
- run: go install github.com/bufbuild/buf/cmd/buf@v1.26.1 | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Check if PR is breaking | |
run: | | |
if [[ "${{ github.event.pull_request.title }}" == *'!'* ]]; then | |
echo "PR is a breaking change by title" | |
exit 0 | |
else | |
echo "Checking if PR is a breaking change" | |
buf breaking --path ./api/protobuf/ --against '.git#branch=origin/main' | |
fi |