Skip to content

Commit

Permalink
Revert to only run on PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
dlarocque committed Aug 21, 2024
1 parent 735c1f6 commit 992208a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/check-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

name: Doc Change Check (Run "yarn docgen:all" if this fails)

on: push
on: pull_request

jobs:
doc-check:
Expand All @@ -37,8 +37,7 @@ jobs:
run: yarn docgen:all
- name: Check for changes in docs-devsite dir (fail if so)
run: |
STATUS=$(git status docs-devsite --porcelain)
if [[ -n "$STATUS" ]]; then
if [[ -n "$git status docs-devsite --porcelain" ]]; then
echo "Unstaged changes detected:"
git status -s
exit 1
Expand Down

0 comments on commit 992208a

Please sign in to comment.