chore(deps): Bump bufbuild/buf-setup-action from 1.40.1 to 1.41.0 #952
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: Breaking Changes Check | |
on: | |
pull_request: | |
types: [opened, edited, synchronize, reopened] | |
jobs: | |
breaking: | |
name: Ensure breaking changes are labeled in description | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: bufbuild/buf-setup-action@v1.41.0 | |
with: | |
github_token: ${{ github.token }} | |
- name: check for breaking changes | |
id: check-breaking | |
run: | | |
if ! buf breaking --against 'https://github.com/substrait-io/substrait.git#branch=main'; then | |
breaking="true" | |
else | |
breaking="false" | |
fi | |
echo "breaking=${breaking}" >> $GITHUB_OUTPUT | |
- name: check whether the PR description includes a breaking change footer | |
if: ${{ fromJson(steps.check-breaking.outputs.breaking) }} | |
run: | | |
# check PR description for a BREAKING CHANGE section if any breaking changes occurred | |
grep '^BREAKING CHANGE: ' <<< $COMMIT_DESC | |
env: | |
COMMIT_DESC: ${{ github.event.pull_request.body }} |