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 7dbf673 commit 571ff81Copy full SHA for 571ff81
.github/workflows/reusable-idle-help-doc.yml
@@ -32,14 +32,8 @@ jobs:
32
working-directory: Doc
33
- name: 'Check for changes'
34
run: |
35
- git add -u
36
- changes=$(git status --porcelain)
37
- # Check for changes in regenerated files
38
- if test -n "$changes"; then
39
- echo "Generated files not up to date."
40
- echo "Perhaps you forgot to run make idlehelp ;)"
41
- echo "$changes"
42
- echo ""
43
- git diff --staged || true
44
- exit 1
45
- fi
+ git diff --exit-code Lib/idlelib/help.html || {
+ echo "Lib/idlelib/help.html is not up to date."
+ echo "Run make idlehelp in the Doc directory."
+ exit 1
+ }
0 commit comments