mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-29 09:03:38 +00:00
fix: clang-format should have an on: pull_request
This commit is contained in:
parent
a66a391225
commit
715f5e1dae
37
.github/workflows/clang-format.yml
vendored
37
.github/workflows/clang-format.yml
vendored
|
|
@ -3,18 +3,31 @@ name: Check Format (Linux, x86-64)
|
|||
on:
|
||||
push:
|
||||
paths:
|
||||
- '**.cpp'
|
||||
- '**.h'
|
||||
- '**.c'
|
||||
- '**.cc'
|
||||
- '**.cxx'
|
||||
- '**.hh'
|
||||
- '**.hpp'
|
||||
- '**.hxx'
|
||||
- '**.inl'
|
||||
- '.clang-format'
|
||||
- '.github/workflows/clang-format.yml'
|
||||
- '.github/scripts/check-clang-format.sh'
|
||||
- "**.cpp"
|
||||
- "**.h"
|
||||
- "**.c"
|
||||
- "**.cc"
|
||||
- "**.cxx"
|
||||
- "**.hh"
|
||||
- "**.hpp"
|
||||
- "**.hxx"
|
||||
- "**.inl"
|
||||
- ".clang-format"
|
||||
- ".github/workflows/clang-format.yml"
|
||||
- ".github/scripts/check-clang-format.sh"
|
||||
pull_request:
|
||||
paths:
|
||||
- "**.cpp"
|
||||
- "**.h"
|
||||
- "**.c"
|
||||
- "**.cc"
|
||||
- "**.cxx"
|
||||
- "**.hh"
|
||||
- "**.hpp"
|
||||
- "**.hxx"
|
||||
- "**.inl"
|
||||
- "**.meson.build"
|
||||
- ".github/workflows/clang-format.yml*"
|
||||
|
||||
jobs:
|
||||
formatting-check:
|
||||
|
|
|
|||
Loading…
Reference in a new issue