Skip to content

Commit f071c21

Browse files
authored
CI - CLI doc check shouldn't fail on Cargo.lock diff (#3739)
# Description of Changes Stop the CLI doc check from failing on `Cargo.lock` diffs, which it was doing before. # API and ABI breaking changes CI only. # Expected complexity level and risk 1 # Testing - [x] CI still fails elsewhere if `Cargo.lock` needs updating --------- Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
1 parent 72f34a3 commit f071c21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ jobs:
512512
cargo run --features markdown-docs -p spacetimedb-cli > docs/docs/cli-reference.md
513513
pnpm format
514514
git status
515-
if git diff --exit-code HEAD; then
515+
if git diff --exit-code HEAD -- docs/docs/cli-reference.md; then
516516
echo "No docs changes detected"
517517
else
518518
echo "It looks like the CLI docs have changed:"

0 commit comments

Comments
 (0)