File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,14 @@ jobs:
3535
3636 - name : Run gofmt
3737 working-directory : api
38- run : gofmt -l -w .
38+ run : |
39+ echo "Running gofmt..."
40+ gofmt -l -w .
41+ git status
3942
4043 - name : Commit API changes
4144 id : api-commit
45+ if : github.event_name == 'pull_request'
4246 uses : stefanzweifel/git-auto-commit-action@v5
4347 with :
4448 commit_message : ' style(api): format Go code'
5054 skip_fetch : true
5155 skip_checkout : true
5256 disable_globbing : true
57+ status_options : ' --untracked-files=no'
5358
5459 format-view :
5560 name : Format View
@@ -79,14 +84,15 @@ jobs:
7984
8085 - name : Commit View changes
8186 id : view-commit
87+ if : github.event_name == 'pull_request'
8288 uses : stefanzweifel/git-auto-commit-action@v5
8389 with :
8490 commit_message : ' style(view): format frontend code'
8591 branch : ${{ github.head_ref }}
86- file_pattern : ' view/**/*.js view/**/*.jsx view/**/*.ts view/**/*.tsx view/**/*.css view/**/*.md view/**/*.json'
8792 commit_user_name : ' github-actions[bot]'
8893 commit_user_email : ' github-actions[bot]@users.noreply.github.com'
8994 skip_dirty_check : true
9095 skip_fetch : true
9196 skip_checkout : true
92- disable_globbing : true
97+ disable_globbing : true
98+ status_options : ' --untracked-files=no'
Original file line number Diff line number Diff line change 33 {
44 "version" : " v1" ,
55 "status" : " active" ,
6- "release_date" : " 2025-05-03T21:21:26.949483 +05:30" ,
6+ "release_date" : " 2025-05-03T21:31:55.074534 +05:30" ,
77 "end_of_life" : " 0001-01-01T00:00:00Z" ,
88 "changes" : [
99 " Initial API version"
You can’t perform that action at this time.
0 commit comments