Skip to content

chore(gh-aw): ignore downloaded workflow logs under .github/aw/logs - #1815

Merged
bradygaster merged 1 commit into
devfrom
bradygaster-squad/gh-aw-logs-gitignore
Aug 21, 2026
Merged

chore(gh-aw): ignore downloaded workflow logs under .github/aw/logs#1815
bradygaster merged 1 commit into
devfrom
bradygaster-squad/gh-aw-logs-gitignore

Conversation

@bradygaster

Copy link
Copy Markdown
Owner

Summary

Adds .github/aw/logs/.gitignore to keep downloaded gh aw logs workflow run logs out of git tracking.

Why

gh aw logs downloads workflow run logs into .github/aw/logs/. Without this ignore file, every future agentic-workflow triage session sees those downloads as untracked noise in git status, which risks:

  • (a) someone blanket-staging them into a commit accidentally
  • (b) obscuring real untracked work during review

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 .gitignore itself (!.gitignore)

EOL / CI gate notes

  • Blob is LF (verified via git cat-file hex inspection — no 0D bytes)
  • No parent .gitignore rule blocks this path (git check-ignore -v returned exit 1 — not ignored)
  • No .gitattributes rule covers .gitignore files; the shebang-EOL CI check (check-shebang-eol.mjs) only targets files with shebangs, which this is not
  • This is a repo-health chore — touches only .github/. No changeset needed.

Scope

repo-health / chore — no packages/*/src/ changes, no changeset required.

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>
Copilot AI lite review requested due to automatic review settings August 21, 2026 16:18
@github-actions

Copy link
Copy Markdown
Contributor

🟢 Impact Analysis — PR #1815

Risk tier: 🟢 LOW

📊 Summary

Metric Count
Files changed 1
Files added 1
Files modified 0
Files deleted 0
Modules touched 1

🎯 Risk Factors

  • 1 files changed (≤5 → LOW)
  • 1 module(s) touched (≤1 → LOW)

📦 Modules Affected

ci-workflows (1 file)
  • .github/aw/logs/.gitignore

This report is generated automatically for every PR. See #733 for details.

@github-actions

github-actions Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

🛫 PR Readiness Check

ℹ️ This comment updates on each push. Last checked: commit 099d950

PR Scope: 🔧 Infrastructure

⚠️ 1 item(s) to address before review

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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/.gitignore that 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

@bradygaster
bradygaster merged commit 203a172 into dev Aug 21, 2026
17 checks passed
@bradygaster
bradygaster deleted the bradygaster-squad/gh-aw-logs-gitignore branch September 9, 2026 19:44
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.

2 participants