You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo "Changes in this PR affect the reference docs or API reports. Run \`yarn docgen:all\` locally to regenerate the changed files and add them to this PR."
45
46
exit 1
46
47
fi
47
-
# Overwrite the command if there are also docs-devsite changes since
48
-
# running yarn docgen:all will also run yarn build first.
49
-
- name: Check for changes in docs-devsite dir (fail if so)
50
-
id: docs-check
48
+
- name: Check for changes in common/api-review dir (fail if so)
51
49
run: |
52
-
if [[ -n "$(git status docs-devsite --porcelain)" ]]; then
53
-
echo "Unstaged changes detected in docs-devsite/:"
50
+
if [[ -n "$(git status common/api-review --porcelain)" ]]; then
51
+
echo "Unstaged changes detected in api-report(s):"
echo "Changes in this PR affect the API reports. Run \`yarn build\` locally to regenerate the API reports and add them to this PR."
56
54
exit 1
57
55
fi
58
-
- name: Reference documentation needs to be updated. See message below.
59
-
if: ${{ failure() }}
60
-
run: echo "Changes in this PR affect the reference docs or API reports. Run \`$COMMAND_TO_RUN\` locally to regenerate the changed files and add them to this PR."
0 commit comments