Skip to content

Ignore local .agents workspaces - #8049

Merged
joshblack merged 2 commits into
mainfrom
copilot/add-agents-folder-to-ignore
Jun 25, 2026
Merged

Ignore local .agents workspaces#8049
joshblack merged 2 commits into
mainfrom
copilot/add-agents-folder-to-ignore

Conversation

Copilot AI commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Closes #

Changelog

New

N/A

Changed

  • Added .agents to repo-level ignore coverage for Git, Prettier, ESLint, Stylelint, and Markdown lint so local agent workspaces are excluded from globbed tooling.

Removed

N/A

Rollout strategy

  • Patch release
  • Minor release
  • Major release; if selected, include a written rollout or migration plan
  • None; config-only tooling change with no published package impact.

Testing & Reviewing

  • Baseline validation passed before edits: npm install, npm run build, npm test -- --run, npm run type-check, npm run lint, npm run lint:css, npm run format:diff
  • Verified .agents/check/* files are ignored by Git, Prettier, ESLint, Stylelint, and Markdown lint globs.
  • Final validation passed: npm run build, npm test -- --run, npm run type-check, npm run lint, npm run lint:css, npm run format:diff
  • Secret scanning passed for changed files.
  • Parallel validation passed with no review comments and no CodeQL-analyzable code changes.

Merge checklist

Copilot AI and others added 2 commits June 24, 2026 17:05
Co-authored-by: joshblack <3901764+joshblack@users.noreply.github.com>
Co-authored-by: joshblack <3901764+joshblack@users.noreply.github.com>
@changeset-bot

changeset-bot Bot commented Jun 24, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: fb6b61e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copilot AI requested a review from joshblack June 24, 2026 17:16
@joshblack
joshblack marked this pull request as ready for review June 24, 2026 17:17
@joshblack
joshblack requested a review from a team as a code owner June 24, 2026 17:17
Copilot AI review requested due to automatic review settings June 24, 2026 17:17
@joshblack joshblack added skip changeset This change does not need a changelog integration-tests: skipped manually Changes in this PR do not require an integration test labels Jun 24, 2026
@joshblack
joshblack requested a review from jonrohan June 24, 2026 17:18

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

Updates repository-wide tooling configuration to consistently ignore local .agents workspaces, preventing agent-generated scratch files from being picked up by formatting/linting and from being committed.

Changes:

  • Added .agents to Git ignore rules.
  • Excluded .agents from Prettier, ESLint, Stylelint, and Markdownlint file globs/ignore lists.
  • Kept existing ignore patterns consistent with current repo scripting and config structure.
Show a summary per file
File Description
package.json Excludes .agents from the lint:md markdownlint-cli2 glob inputs.
eslint.config.mjs Adds .agents/**/* to ESLint flat config globalIgnores.
.stylelintignore Ignores CSS files under .agents for Stylelint runs.
.prettierignore Ignores .agents directory for Prettier formatting/checks.
.gitignore Prevents .agents workspace contents from being tracked by Git.

Copilot's findings

  • Files reviewed: 4/5 changed files
  • Comments generated: 0

@joshblack
joshblack added this pull request to the merge queue Jun 25, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 25, 2026
@joshblack
joshblack added this pull request to the merge queue Jun 25, 2026
Merged via the queue into main with commit 5462dd0 Jun 25, 2026
69 of 70 checks passed
@joshblack
joshblack deleted the copilot/add-agents-folder-to-ignore branch June 25, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration-tests: skipped manually Changes in this PR do not require an integration test skip changeset This change does not need a changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants