diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 2ab673b0dda5bc..c9873d188a8e14 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -49,7 +49,7 @@ jobs: - name: Lint C/C++ files run: make lint-cpp format-cpp: - if: ${{ github.event.pull_request && github.event.pull_request.draft == false && github.base_ref == github.repository.default_branch }} + if: ${{ github.event.pull_request && github.event.pull_request.draft == false && github.base_ref == github.event.repository.default_branch }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v3