Skip to content

Commit 7b617b7

Browse files
fix: ignore generated CodeBoarding artifacts
Amp-Thread-ID: https://ampcode.com/threads/T-019ecb81-dc76-76cb-8bf3-22a366c9be41 Co-authored-by: Amp <amp@ampcode.com>
1 parent 4b8ecb7 commit 7b617b7

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

.gitignore

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ node_modules/
1212
__pycache__/
1313
*.py[cod]
1414

15-
# CodeBoarding generated cache/log artifacts
16-
.codeboarding/logs/
17-
.codeboarding/health/*
18-
!.codeboarding/health/
19-
!.codeboarding/health/health_report.json
15+
# CodeBoarding generated artifacts are managed by sync mode.
16+
# Keep them ignored for humans; the action force-adds the files it owns.
17+
.codeboarding/
18+
docs/development/architecture.md
2019

2120
# Environment files
2221
.env

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1455,7 +1455,7 @@ runs:
14551455
stage_paths+=("docs/development/architecture.md")
14561456
fi
14571457
stage_paths+=("${old_md[@]}" "${new_md[@]}")
1458-
git add -A -- "${stage_paths[@]}"
1458+
git add -f -A -- "${stage_paths[@]}"
14591459
14601460
if git diff --cached --quiet; then
14611461
echo "::notice::Generated architecture is unchanged; nothing to commit."

0 commit comments

Comments
 (0)