File tree Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Original file line number Diff line number Diff line change 6868 checks['javascript']='true'
6969 elif path.endswith('.py'):
7070 checks['python']='true'
71- elif '.' in path.split('/')[-1] and not path.endswith('.md'):
71+ elif '.' in path.split('/')[-1] and not ( path.startswith('.github') or path. endswith('.md') ):
7272 checks['other']='true'
7373
7474 # Setting output variables based on file extensions
@@ -106,15 +106,18 @@ jobs:
106106 (needs.python-linter.result == 'skipped' || needs.checkout.outputs.needs_python_linting == 'false'))
107107 }}
108108 runs-on : ubuntu-latest
109+ permissions :
110+ contents : read
111+ packages : read
112+ statuses : write
113+
109114 steps :
110- - name : Checking out the repo
111- 112- with :
113- fetch-depth : 0
114- ref : ${{ github.event.pull_request.head.ref }}
115- - name : Super Linter
116- uses :
super-linter/[email protected] 117- env :
118- VALIDATE_ALL_CODEBASE : false
119- DEFAULT_BRANCH : main
115+ - name : Checkout code
116+ uses : actions/checkout@v4
117+ with :
118+ fetch-depth : 0
119+
120+ - name : Super-linter
121+ uses :
super-linter/[email protected] 122+ env :
120123 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments