diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7789175d07..61ae27667b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -52,7 +52,7 @@ jobs: - uses: bufbuild/buf-breaking-action@v1 with: - against: "https://github.com/${{ github.repository }}.git#branch=main" + against: "https://github.com/${{ github.repository }}.git#branch=${{ github.base_ref }}" console: if: ${{ github.event_name == 'pull_request' }}