diff --git a/.github/workflows/bors.yml b/.github/workflows/bors.yml index ddacc89ce115c9..3f6a94ff9fdedd 100644 --- a/.github/workflows/bors.yml +++ b/.github/workflows/bors.yml @@ -74,7 +74,7 @@ jobs: lake exe lint-style - name: "check the formatting of the PR title and for missing or inconsistent labels" - if: github.event.pull_request.draft == false + if: github.event.pull_request.draft == false and github.event.pull_request.base == 'master' shell: bash # just in case env: TITLE: ${{ github.event.pull_request.title }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 16acb7d4dd64b0..088ffe577e0119 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -81,7 +81,7 @@ jobs: lake exe lint-style - name: "check the formatting of the PR title and for missing or inconsistent labels" - if: github.event.pull_request.draft == false + if: github.event.pull_request.draft == false and github.event.pull_request.base == 'master' shell: bash # just in case env: TITLE: ${{ github.event.pull_request.title }} diff --git a/.github/workflows/build_fork.yml b/.github/workflows/build_fork.yml index 3c317e5b99789c..20e892675c18f5 100644 --- a/.github/workflows/build_fork.yml +++ b/.github/workflows/build_fork.yml @@ -78,7 +78,7 @@ jobs: lake exe lint-style - name: "check the formatting of the PR title and for missing or inconsistent labels" - if: github.event.pull_request.draft == false + if: github.event.pull_request.draft == false and github.event.pull_request.base == 'master' shell: bash # just in case env: TITLE: ${{ github.event.pull_request.title }}