Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 905dfc1

Browse filesBrowse files
committed
Add missing egrep command after pipe
1 parent 10efd90 commit 905dfc1
Copy full SHA for 905dfc1

File tree

1 file changed

+2
-1
lines changed
Filter options

1 file changed

+2
-1
lines changed

‎.github/workflows/python-testing.yml

Copy file name to clipboardExpand all lines: .github/workflows/python-testing.yml
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ jobs:
4949
- name: Check for file changes
5050
id: check_files
5151
run: |
52-
can_run=$(git diff --name-only ${{ github.event.after }} ${{ github.event.before }})
52+
can_run=$(git diff --name-only ${{ github.event.after }} ${{ github.event.before }} | \
53+
egrep -q '.github/workflows/|pyproject.toml|setup.cfg|\.py$' && echo 1 || echo 0)
5354
echo "can_run=$can_run" >> $GITHUB_OUTPUT
5455
5556
skip_test:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.