We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8d0d15 commit cc3e10dCopy full SHA for cc3e10d
1 file changed
.github/workflows/clang-format.yaml
@@ -0,0 +1,23 @@
1
+name: clang-format
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
+ branches: [main]
7
8
+jobs:
9
+ clang-format:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ with:
14
+ ref: ${{ github.head_ref }}
15
+ fetch-depth: 2
16
+ - uses: jayllyz/clang-format-action@v1
17
18
+ clang-version: 17
19
+ - name: Commit changes
20
+ uses: stefanzweifel/git-auto-commit-action@v5
21
22
+ commit_message: "style: clang format files"
23
+ branch: ${{ github.head_ref }}
0 commit comments