Skip to content

Commit 3ac95e5

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 5be29a1 commit 3ac95e5

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
@@ -1333,7 +1333,7 @@ runs:
13331333
stage_paths+=("docs/development/architecture.md")
13341334
fi
13351335
stage_paths+=("${old_md[@]}" "${new_md[@]}")
1336-
git add -A -- "${stage_paths[@]}"
1336+
git add -f -A -- "${stage_paths[@]}"
13371337
13381338
if git diff --cached --quiet; then
13391339
echo "::notice::Generated architecture is unchanged; nothing to commit."

0 commit comments

Comments
 (0)