Skip to content

Commit c7ddd79

Browse files
Update lint_cehck.yml
1 parent 988256a commit c7ddd79

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/lint_cehck.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,13 @@ jobs:
2525
- name: List files in the repository
2626
run: |
2727
ls ${{ github.workspace }}
28-
- name : variable
29-
run: |
30-
echo $(git rev-list ${{github.event.before}}...${{github.event.after}})
3128
- name: Analysing the code with pylint
3229
run: |
3330
inspekt checkall --disable-lint W,R,C,E1002,E1101,E1103,E1120,F0401,I0011,E0203,E711,W605,E721 --no-license-check
3431
inspekt indent
3532
inspekt style
3633
error=""
37-
for COMMIT in $(git rev-list ${{github.event.before}}...${{github.event.after}}); do
34+
for COMMIT in $(git rev-list ${{ github.event.pull_request.commits }}); do
3835
echo "-----< $(git log -1 --oneline $COMMIT) >-----"
3936
msg=$(git show -s --format=%B $COMMIT)
4037
# Skip merge commits

0 commit comments

Comments
 (0)