Skip to content

fix(ci): drop permanently-unmatchable JSON-findings pathspec from add-paths - #90

Merged
acamarata merged 1 commit into
mainfrom
fix/quarterly-doc-audit-gitignored-report
Aug 16, 2026
Merged

acamarata merged 1 commit into
mainfrom
fix/quarterly-doc-audit-gitignored-report

Conversation

@acamarata

Copy link
Copy Markdown
Collaborator

Follow-up to #89 — the real, complete root cause. The AI-tooling config directory this org keeps out of git is gitignored repo-wide; git add's pathspec matching does not count gitignored files as a match, so the findings-JSON pattern in add-paths would abort the whole git add call the moment any real .md change needs staging. Confirmed live in plugins (run 31958209014, nself-org/plugins#33). No functional loss — the JSON is already preserved via actions/upload-artifact and fed into the PR body via body-path. Currently latent here (ntask's last audit run was clean, no findings to stage), but the bug is real.

…-paths

Same fix as the sibling plugins (PR #33), cli (PR #215), and admin repos:
the AI-tooling config directory this org keeps out of git (per repo
.gitignore) is gitignored repo-wide. git add's pathspec matching does
not count gitignored files as a match even when they exist on disk with
fresh content, so the findings-JSON pattern in add-paths would abort the
whole git add call the moment any real .md change needs staging --
confirmed live in plugins run 31958209014.

No functional loss: the JSON report is already preserved via the
'Upload JSON report' actions/upload-artifact step and fed into the PR
body directly via body-path, independent of git staging.
@acamarata
acamarata merged commit fc0f8f0 into main Aug 16, 2026
6 of 10 checks passed
@acamarata
acamarata deleted the fix/quarterly-doc-audit-gitignored-report branch August 16, 2026 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant