mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-08-19 10:17:11 +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:
|
on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- '**.cpp'
|
- "**.cpp"
|
||||||
- '**.h'
|
- "**.h"
|
||||||
- '**.c'
|
- "**.c"
|
||||||
- '**.cc'
|
- "**.cc"
|
||||||
- '**.cxx'
|
- "**.cxx"
|
||||||
- '**.hh'
|
- "**.hh"
|
||||||
- '**.hpp'
|
- "**.hpp"
|
||||||
- '**.hxx'
|
- "**.hxx"
|
||||||
- '**.inl'
|
- "**.inl"
|
||||||
- '.clang-format'
|
- ".clang-format"
|
||||||
- '.github/workflows/clang-format.yml'
|
- ".github/workflows/clang-format.yml"
|
||||||
- '.github/scripts/check-clang-format.sh'
|
- ".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:
|
jobs:
|
||||||
formatting-check:
|
formatting-check:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue