Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/clang-diff-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Clang Diff Format Check

on:
pull_request:
branches:
- develop
jobs:
ClangFormat:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Fetch git
run: git fetch
- name: Run Clang-Format-Diff.py
run: git diff -U0 origin/develop | ./contrib/devtools/clang-format-diff.py -p1