Skip to content

Clean up copilot workspace #30112

Closed
@mattleibow

Description

@mattleibow

Right now we have a bug, after the copilot setup steps workflow runs, the working directory has some additional files that should not be there.

Copilot Setup Steps

Can you add a step at the end of the yml file to reset the git directory. Don't clean, as we want the build artifacts, but just reset all tracked files.

Copilot Instructions

Can you edit the md file to add some items to the "Files to Never Commit" section. Right now the rules are never to commit, but this makes it hard for AI to do. Can you add some poimts to:

  • Always reset the changes to cgmanifest.json files
  • Always reset the changes to templatestrings.json files

These files are generated on CI, but since the coding agent is both CI and a pair programmer, it has to reset the CI-only files.

Summary

  • add a reset step to the copilot setup steps
  • add some reset instrucitons to the copilot instructions

Metadata

Metadata

Labels

s/triagedIssue has been reviewed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions