Skip to content

Commit

Permalink
chore: run workflow against base branch instead of always main
Browse files Browse the repository at this point in the history
  • Loading branch information
rhamzeh committed Oct 13, 2023
1 parent 8def830 commit 06db457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: bufbuild/buf-breaking-action@v1
with:
# The 'main' branch of the GitHub repository that defines the module.
against: "https://github.com/${GITHUB_REPOSITORY}.git#branch=main"
against: "https://github.com/${GITHUB_REPOSITORY}.git#branch=${GITHUB_BASE_REF}"
- run: buf format -d --exit-code

diff-openapi:
Expand Down

0 comments on commit 06db457

Please sign in to comment.