We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b31c2e commit 1e93876Copy full SHA for 1e93876
.github/workflows/python-testing.yml
@@ -49,7 +49,8 @@ jobs:
49
- name: Check for file changes
50
id: check_files
51
run: |
52
- can_run=$(git diff --name-only ${{ github.event.after }} ${{ github.event.before }} | \
+ # ${{ github.event.after }} ${{ github.event.before }}
53
+ can_run=$(git diff --name-only HEAD~1 HEAD | \
54
egrep -q '.github/workflows/|pyproject.toml|setup.cfg|\.py$' && echo 1 || echo 0)
55
echo "can_run=$can_run" >> $GITHUB_OUTPUT
56
0 commit comments