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 5fad76a commit 5043474Copy full SHA for 5043474
.github/workflows/check_api_changes.yml
@@ -24,9 +24,7 @@ jobs:
24
id: check_changes
25
run: |
26
# Check if the API contract test file was modified
27
- git diff --name-only ${{ github.event.pull_request.base.sha }}..HEAD | grep -q "tests/test_api_contract.py"
28
-
29
- if [ $? -eq 0 ]; then
+ if git diff --name-only ${{ github.event.pull_request.base.sha }}..HEAD | grep -q "tests/test_api_contract.py"; then
30
echo "contract_changed=true" >> $GITHUB_OUTPUT
31
echo "API contract test file was modified in this PR"
32
else
0 commit comments