We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5335cfc commit ac9824cCopy full SHA for ac9824c
.github/workflows/python-tests.yml
@@ -100,3 +100,10 @@ jobs:
100
101
- name: "Run linters and formatters"
102
run: "uvx nox --session format lint"
103
+
104
+ - name: "Check for any unstaged changes"
105
+ run: |
106
+ if [ -n "$(git status --porcelain)" ]; then
107
+ echo "#### Format or Lint changes found. Please run 'uvx nox' locally and push the changes." >> $GITHUB_STEP_SUMMARY
108
+ exit 1
109
+ fi
0 commit comments