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 8a96f4f commit a002deaCopy full SHA for a002dea
.github/workflows/check-docs.yml
@@ -14,7 +14,7 @@
14
15
name: Doc Change Check (Run "yarn docgen:all" if this fails)
16
17
-on: pull_request
+on: push
18
19
jobs:
20
doc-check:
@@ -36,7 +36,11 @@ jobs:
36
- name: Run doc generation
37
run: yarn docgen:all
38
- name: Check for changes in docs-devsite dir (fail if so)
39
- run: git diff --exit-code docs-devsite
+ run: |
40
+ if [[ -n "$git status docs-devsite --porcelain" ]]; then
41
+ echo "Unstaged changes detected:"
42
+ exit 1
43
+ fi
44
- name: Reference documentation needs to be updated. See message below.
45
if: ${{ failure() }}
46
run: echo "Changes in this PR affect the reference docs. Run \`yarn docgen:all\` locally to regenerate docs and add them to this PR."
0 commit comments