Skip to content

Commit 6358639

Browse files
F3n67uaduh95
andauthored
Update .github/workflows/linters.yml
Co-authored-by: Antoine du Hamel <[email protected]>
1 parent 0d21cf6 commit 6358639

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/linters.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Lint C/C++ files
5050
run: make lint-cpp
5151
format-cpp:
52-
if: ${{ github.event.pull_request.draft == false && github.event.pull_request.base.ref == github.event.pull_request.base.repo.default_branch }}
52+
if: ${{ github.event.pull_request && github.event.pull_request.draft == false && github.base_ref == github.repository.default_branch }}
5353
runs-on: ubuntu-latest
5454
steps:
5555
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)