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 87e9f06 commit d3484d4Copy full SHA for d3484d4
.github/workflows/ci.yml
@@ -82,13 +82,11 @@ jobs:
82
83
set -eu
84
85
- STATUS="$(git status)"
86
- echo "$STATUS"
87
-
88
- # Ignore changes to poetry.lock and pyproject.toml when checking for a clean working tree
+ # Only fail if there are changes other than poetry.lock and pyproject.toml
89
CHANGED=$(git status --porcelain | grep -vE 'poetry.lock|pyproject.toml')
90
if [ -z "$CHANGED" ]; then
91
echo "No relevant changes detected."
+ exit 0
92
else
93
echo "Unexpected changes detected:"
94
echo "$CHANGED"
0 commit comments