File tree 1 file changed +12
-2
lines changed
1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 26
26
name : Lint
27
27
runs-on : ${{ github.repository_owner == 'intel' && 'intel-ubuntu-latest' || 'ubuntu-latest' }}
28
28
permissions :
29
- contents : read
30
- # statuses: write
29
+ contents : write
30
+ statuses : write
31
31
steps :
32
32
- name : Harden Runner
33
33
uses : step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
52
52
VALIDATE_PYTHON_FLAKE8 : false
53
53
VALIDATE_PYTHON_MYPY : false
54
54
VALIDATE_PYTHON_RUFF : false
55
+ - name : Commit and push linting fixes
56
+ if : >
57
+ github.event_name == 'pull_request' &&
58
+ github.ref_name != github.event.repository.default_branch
59
+ uses : stefanzweifel/git-auto-commit-action@v8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1
60
+ with :
61
+ branch : ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
62
+ commit_message : " chore: fix linting issues"
63
+ commit_user_name : super-linter
64
+ commit_user_email : super-linter@super-linter.dev
You can’t perform that action at this time.
0 commit comments