File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 11name : Flask App GitHub Actions Pipeline
2- run-name : ${{ github.actor }} workflow that triggers on push to a feature branch and perform check on a Flask app repo
2+ run-name : Flask App GitHub Actions Pipeline
33
44on :
55 push :
2828 - uses : actions/checkout@v4
2929 - uses : editorconfig-checker/action-editorconfig-checker@main
3030 - run : editorconfig-checker
31+
32+ python-pylint :
33+ name : Executes pylint
34+ runs-on : ubuntu-latest
35+ steps :
36+ - name : Checkout
37+ uses : actions/checkout@v1
38+
39+ - name : Lint
40+ uses : gabriel-milan/action-pylint@v1
41+ with :
42+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}} # GitHub token
43+ path : " ./*.py" # Glob pattern for files to lint
44+ fail : true # Fail the action if pylint errors are found
45+ pr-message : true # Send a PR message if pylint errors are found
You can’t perform that action at this time.
0 commit comments