We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4dff13 commit 405ce93Copy full SHA for 405ce93
1 file changed
.github/workflows/style.yml
@@ -1,5 +1,8 @@
1
name: Auto Format C++ (Google Style)
2
3
+permissions:
4
+ contents: write
5
+
6
on:
7
push:
8
branches: [ main ]
@@ -17,7 +20,7 @@ jobs:
17
20
- name: Checkout repository
18
21
uses: actions/checkout@v4
19
22
with:
- fetch-depth: 0 # required for pushing commits
23
+ fetch-depth: 0
24
25
- name: Install clang-format
26
run: |
@@ -40,4 +43,4 @@ jobs:
40
43
41
44
commit_message: "style: auto-format C++ sources (Google, 80 cols)"
42
45
branch: ${{ github.ref }}
- file_pattern: "*.cpp *.h *.hpp"
46
+ file_pattern: "**/*.cpp **/*.h **/*.hpp"
0 commit comments