File tree 1 file changed +2
-21
lines changed
1 file changed +2
-21
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 : write
29
+ contents : read
30
30
statuses : write
31
31
steps :
32
32
- name : Harden Runner
41
41
fetch-depth : 0
42
42
- uses : super-linter/super-linter/slim@b92721f792f381cedc002ecdbb9847a15ece5bb8 # v7.1.0
43
43
env :
44
- # To report GitHub Actions status checks
45
- FIX_HTML_PRETTIER : false
46
- FIX_JSON : true
47
- FIX_MARKDOWN_PRETTIER : false
48
- FIX_PYTHON_BLACK : true
49
- FIX_PYTHON_PINK : false
50
- FIX_PYTHON_RUST : false
51
- FIX_SHELL_SHFMT : true
52
- FIX_YAML_PRETTIER : true
53
44
GITHUB_ACTIONS_COMMAND_ARGS : ' -ignore SC.*'
54
45
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
55
46
VALIDATE_BASH_EXEC : false
64
55
VALIDATE_PYTHON_MYPY : false
65
56
VALIDATE_PYTHON_PYINK : false
66
57
VALIDATE_PYTHON_RUFF : false
67
- - name : Commit and push linting fixes
68
- if : >
69
- always() &&
70
- github.event_name == 'pull_request' &&
71
- github.ref_name != github.event.repository.default_branch
72
- uses : stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1
73
- with :
74
- branch : ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
75
- commit_message : " chore: fix linting issues"
76
- commit_user_name : super-linter
77
- commit_user_email : super-linter@super-linter.dev
58
+ VALIDATE_YAML_PRETTIER : false
You can’t perform that action at this time.
0 commit comments