fix: clang-format should have an on: pull_request

This commit is contained in:
orng 2026-03-29 19:50:20 -05:00
parent a66a391225
commit 715f5e1dae

View file

@ -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: