Skip to content

Commit b36542f

Browse files
Lint check only on pull request
1 parent 7e6f18d commit b36542f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ on:
1818
jobs:
1919
lint:
2020
runs-on: ubuntu-20.04
21+
if: ${{ github.event_name == 'pull_request' }}
2122
steps:
2223
- uses: actions/checkout@v2
2324
- run: sudo apt-get install clang-format

0 commit comments

Comments
 (0)