File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
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."
33inputs :
4- github_token :
5- description : " "
4+ fail_on_error :
5+ description : " Should the action fail if errors are found? [default: true] "
66 required : false
7- default : ${{ github.token }}
7+ default : " true "
88runs :
99 using : " composite"
1010 steps :
@@ -36,11 +36,12 @@ runs:
3636 - name : mypy
3737 uses : tsuyoshicho/action-mypy@v3.11.0
3838 with :
39- target : ${{ steps.changes.outputs.addedOrModifiedPython }}
39+ target : ${{ steps.changes.outputs.addedOrModifiedPython_files }}
4040 reporter : ${{ steps.reporter-check.outputs.reporter }}
4141
4242 - name : pylint
4343 uses : dciborow/action-pylint@0.1.0
4444 with :
4545 glob_pattern : ${{ steps.changes.outputs.addedOrModifiedPython_files }}
4646 reporter : ${{ steps.reporter-check.outputs.reporter }}
47+ fail_on_error : ${{ inputs.fail_on_error }}
You can’t perform that action at this time.
0 commit comments