File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change 88 branches :
99 - main
1010
11- permissions :
12- contents : write
13-
1411jobs :
1512 lint :
1613 runs-on : ubuntu-latest
3229 with :
3330 globs : ${{ steps.changed-files.outputs.all_changed_files }}
3431 separator : " ,"
35- fix : true
36-
37- # Check if anything was fixed, then Commit & Push
38- - name : Commit and push fixes
39- if : always() && steps.changed-files.outputs.any_changed == 'true'
40- run : |
41- # Configure the bot's identity
42- git config --global user.name "github-actions[bot]"
43- git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
44-
45- # Check if the linter modified any files
46- if [[ -n $(git status -s) ]]; then
47- git add .
48- git commit -m "style: auto-fix markdown formatting"
49- git push origin HEAD:${{ github.head_ref }}
50- fi
You can’t perform that action at this time.
0 commit comments