File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 2727 python $GITHUB_ACTION_PATH/linting_orchestrator.py ${{ github.event_name == 'pull_request' }} flake8 ${{ steps.changes.outputs.addedOrModifiedPython_files }}
2828 env :
2929 GITHUB_TOKEN : ${{ inputs.github_token }}
30+ PR_NUMBER : ${{ github.event.number }}
31+ REPOSITORY_NAME : ${{ github.repository }}
3032
3133 - name : mypy
3234 uses : tsuyoshicho/action-mypy@v3.11.0
4143 python $GITHUB_ACTION_PATH/linting_orchestrator.py ${{ github.event_name == 'pull_request' }} pylint ${{ steps.changes.outputs.addedOrModifiedPython_files }}
4244 env :
4345 GITHUB_TOKEN : ${{ inputs.github_token }}
46+ PR_NUMBER : ${{ github.event.number }}
47+ REPOSITORY_NAME : ${{ github.repository }}
Original file line number Diff line number Diff line change 1818 "lintly" ,
1919 "--api-key" ,
2020 os .environ ["GITHUB_TOKEN" ],
21+ "--pr" ,
22+ os .environ ["PR_NUMBER" ],
23+ "--repo" ,
24+ os .environ ["REPOSITORY_NAME" ],
25+ "--commit-sha" ,
26+ os .environ ["GITHUB_SHA" ],
2127 "--fail-on" ,
2228 "any" ,
2329 "--post-status" ,
2430 "--request-changes" ,
2531 "--use-checks" ,
26- "--no-exit-zero" ,
2732]
2833
2934
You can’t perform that action at this time.
0 commit comments