File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7777 - name : Check for Python file changes
7878 id : changes
7979 run : |
80- if git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep -q "^services/apps/git_integration/.*\.py$"; then
80+ if git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep -qE "^services/apps/git_integration/.*( \.py|pyproject\.toml|uv\.lock) $"; then
8181 echo "python_changed=true" >> $GITHUB_OUTPUT
8282 else
8383 echo "python_changed=false" >> $GITHUB_OUTPUT
@@ -120,7 +120,7 @@ jobs:
120120 - name : Check for Python file changes
121121 id : changes
122122 run : |
123- if git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep -q "^services/apps/mailing_list_integration/.*\.py$"; then
123+ if git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep -qE "^services/apps/mailing_list_integration/.*( \.py|pyproject\.toml|uv\.lock) $"; then
124124 echo "python_changed=true" >> $GITHUB_OUTPUT
125125 else
126126 echo "python_changed=false" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments