Skip to content

Commit 32d4853

Browse files
committed
feat(pylint): try diff sha app
1 parent 0ecd2e3 commit 32d4853

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/python.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ jobs:
7575
main-branch-name: ${{ steps.base-branch-name.outputs.BASE_BRANCH }}
7676

7777

78+
- uses: matheusraz/ref-sha@v1
79+
id: get-sha
80+
with:
81+
ref: ${{ steps.base-branch-name.outputs.BASE_BRANCH }}
82+
length: 41
83+
84+
7885
- name: Get all files that have changed
7986
id: changed-files
8087
if: ${{ github.ref_name != 'master' && github.ref_name != 'development' && github.ref_type != 'tag' }}
@@ -84,7 +91,8 @@ jobs:
8491
**.py
8592
!app/*/tests/
8693
!app/*/migrations/
87-
base_sha: ${{ steps.setSHAs.outputs.base }}
94+
# base_sha: ${{ steps.setSHAs.outputs.base }}
95+
base_sha: ${{ steps.get-sha.outputs.sha }}
8896

8997

9098
- name: List all changed files

0 commit comments

Comments
 (0)