-
Notifications
You must be signed in to change notification settings - Fork 8
Closed as not planned
Labels
part:ciAffects the GitHub workflow and other parts for running CIAffects the GitHub workflow and other parts for running CIpart:templateAffects the cookiecutter template filesAffects the cookiecutter template filestype:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to users
Milestone
Description
What's needed?
When using Copilot Coding Agent to create a PR, copilot pushes into a blessed repo branch, which triggers the CI workflow, but it will also be tested by the PR workflow, which is wasteful. We need to avoid this.
Proposed solution
-
Add
copilot/**to the ignored branches incookiecutter/{{cookiecutter.github_repo_name}}/.github/workflows/ci.yaml.name: Dispatch-CI on: # ... branches-ignore: - ... - 'copilot/**'
-
Add a migration step to
cookiecutter/migrate.pyto add the new ignore rule'copilot/**'to existing repositories, but only if the rule doesn't exist already.
Metadata
Metadata
Assignees
Labels
part:ciAffects the GitHub workflow and other parts for running CIAffects the GitHub workflow and other parts for running CIpart:templateAffects the cookiecutter template filesAffects the cookiecutter template filestype:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to users