We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac9a678 commit 9c01602Copy full SHA for 9c01602
1 file changed
.github/workflows/ci.yml
@@ -11,6 +11,25 @@ jobs:
11
steps:
12
- name: Checkout code
13
uses: actions/checkout@v4
14
+ with:
15
+ fetch-depth: 0
16
+ persist-credentials: true
17
+
18
+ - name: Run code formatter and commit changes
19
+ run: |
20
+ # Run project formatter
21
+ .\format.ps1
22
+ # Configure Git for automated commits
23
+ git config user.name "github-actions[bot]"
24
+ git config user.email "github-actions[bot]@users.noreply.github.com"
25
+ $changes = git status --porcelain
26
+ if ($changes) {
27
+ git add -A
28
+ git commit -m "chore: format and lint with Clang."
29
+ git push
30
+ } else {
31
+ Write-Host "No changes to commit"
32
+ }
33
34
- name: Build interpreter and extensions
35
run: .\build.ps1
0 commit comments