Skip to content

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

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 #214 — 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.

…-paths

Same fix as the sibling plugins (PR #33) 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 529f277 into main Aug 16, 2026
26 of 27 checks passed
@acamarata
acamarata deleted the fix/quarterly-doc-audit-gitignored-report branch August 16, 2026 16:33
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