Allow clang-format to be triggered in push events (#1565)
Just like spell-check workflow, we should allow to trigger it in push events, so that the forks repo can notice the format thing way before submitting the PR. Signed-off-by: Binbin <binloveplay1314@qq.com>
This commit is contained in:
parent
6a8f068e36
commit
cda9eee8c9
1
.github/workflows/clang-format.yml
vendored
1
.github/workflows/clang-format.yml
vendored
@ -1,6 +1,7 @@
|
||||
name: Clang Format Check
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'src/**'
|
||||
|
Loading…
x
Reference in New Issue
Block a user