File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Auto Format
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ format :
9+ runs-on : ubuntu-latest
10+ permissions :
11+ contents : write
12+ pull-requests : write
13+
14+ steps :
15+ - name : Checkout code
16+ uses : actions/checkout@v4
17+ with :
18+ ref : ${{ github.head_ref || github.ref }}
19+ token : ${{ secrets.GITHUB_TOKEN }}
20+
21+ - name : Set up Go
22+ uses : actions/setup-go@v5
23+ with :
24+ go-version : ' stable'
25+
26+ - name : Run make fmt
27+ run : make fmt
28+
29+ - name : Commit changes
30+ uses : stefanzweifel/git-auto-commit-action@v5
31+ with :
32+ commit_message : ' chore: apply code formatting changes'
33+ commit_user_name : ' github-actions[bot]'
34+ commit_user_email : ' github-actions[bot]@users.noreply.github.com'
35+ commit_options : ' --no-verify --no-gpg-sign'
36+ skip_dirty_check : false
37+
You can’t perform that action at this time.
0 commit comments