We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d21cf6 commit 6358639Copy full SHA for 6358639
.github/workflows/linters.yml
@@ -49,7 +49,7 @@ jobs:
49
- name: Lint C/C++ files
50
run: make lint-cpp
51
format-cpp:
52
- if: ${{ github.event.pull_request.draft == false && github.event.pull_request.base.ref == github.event.pull_request.base.repo.default_branch }}
+ if: ${{ github.event.pull_request && github.event.pull_request.draft == false && github.base_ref == github.repository.default_branch }}
53
runs-on: ubuntu-latest
54
steps:
55
- uses: actions/checkout@v3
0 commit comments