File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 11name : " Python Code Style Action"
22description : " This action helps python code to adhere to the celebrate coding standards."
3+ inputs :
4+ github_token :
5+ description : " "
6+ required : false
7+ default : ${{ github.token }}
38runs :
49 using : " composite"
510 steps :
611 - name : Check dependencies
712 shell : bash
8- run : flake8 --version && pylint --version && lintly --help || pip install -U -r requirements.txt
13+ run : flake8 --version && pylint --version && lintly --help > /dev/null || pip install -U -r requirements.txt
914
1015 - name : Detect changed files
11162025 shell : bash
2126 run : |
2227 python $GITHUB_ACTION_PATH/linting_orchestrator.py ${{ github.event_name == 'pull_request' }} flake8 ${{ steps.changes.outputs.addedOrModifiedPython_files }}
28+ env :
29+ GITHUB_TOKEN : ${{ inputs.github_token }}
2330
2431 - name : mypy
2532 uses :
tsuyoshicho/[email protected] 3239 shell : bash
3340 run : |
3441 python $GITHUB_ACTION_PATH/linting_orchestrator.py ${{ github.event_name == 'pull_request' }} pylint ${{ steps.changes.outputs.addedOrModifiedPython_files }}
42+ env :
43+ GITHUB_TOKEN : ${{ inputs.github_token }}
You can’t perform that action at this time.
0 commit comments