chore(gh-aw): ignore downloaded workflow logs under .github/aw/logs - #1815
Conversation
gh aw logs downloads workflow run logs into .github/aw/logs/. Without this ignore file every triage session sees those downloads as untracked noise in git status, risking blanket-staging into a commit or obscuring real work. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
🟢 Impact Analysis — PR #1815Risk tier: 🟢 LOW 📊 Summary
🎯 Risk Factors
📦 Modules Affectedci-workflows (1 file)
This report is generated automatically for every PR. See #733 for details. |
🛫 PR Readiness Check
PR Scope: 🔧 Infrastructure
|
| Status | Check | Details |
|---|---|---|
| ✅ | Single commit | 1 commit — clean history |
| ✅ | Not in draft | Ready for review |
| ✅ | Branch up to date | Up to date with dev |
| ❌ | Copilot review | No Copilot review yet — it may still be processing |
| ✅ | Changeset present | No source files changed — changeset not required |
| ✅ | Scope clean | No .squad/ or docs/proposals/ files |
| ✅ | No merge conflicts | No merge conflicts |
| ✅ | Copilot threads resolved | No Copilot review threads |
| ✅ | CI passing | All checks passing |
Files Changed (1 file, +5 −0)
| File | +/− |
|---|---|
.github/aw/logs/.gitignore |
+5 −0 |
Total: +5 −0
This check runs automatically on every push. Fix any ❌ items and push again.
See CONTRIBUTING.md and PR Requirements for details.
There was a problem hiding this comment.
Pull request overview
This PR adds a scoped .gitignore under .github/aw/logs/ to prevent locally downloaded gh aw logs workflow run logs from showing up as untracked files in git status, keeping agentic-workflow triage worktrees clean and reducing the risk of accidentally committing diagnostic artifacts.
Changes:
- Add
.github/aw/logs/.gitignorethat ignores everything in the logs directory while keeping the ignore file itself tracked.
Show a summary per file
| File | Description |
|---|---|
.github/aw/logs/.gitignore |
Ignores downloaded workflow logs while preserving the directory via a tracked .gitignore. |
Review details
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
Summary
Adds
.github/aw/logs/.gitignoreto keep downloadedgh aw logsworkflow run logs out of git tracking.Why
gh aw logsdownloads workflow run logs into.github/aw/logs/. Without this ignore file, every future agentic-workflow triage session sees those downloads as untracked noise ingit status, which risks:This is exactly how the file itself got lost — it was created mid-triage in a throwaway worktree and was never staged. This PR lands it properly.
What changed
.github/aw/logs/.gitignore— ignores all files (*) except the.gitignoreitself (!.gitignore)EOL / CI gate notes
git cat-filehex inspection — no0Dbytes).gitignorerule blocks this path (git check-ignore -vreturned exit 1 — not ignored).gitattributesrule covers.gitignorefiles; the shebang-EOL CI check (check-shebang-eol.mjs) only targets files with shebangs, which this is notrepo-healthchore — touches only.github/. No changeset needed.Scope
repo-health/ chore — nopackages/*/src/changes, no changeset required.