Skip to content

ci(copilot): a release tag starts no setup steps run #4681

Closed

Description

@dan-petty

Problem or Motivation

Copilot Setup Steps ran 120 times in the census week (2026-11-04 to 2026-11-11), one time for each release tag. The push trigger of .github/workflows/copilot-setup-steps.yml has only a paths filter. GitHub does not apply a path filter to a tag push, so each tag starts the workflow.

Proposed Solution & Architectural Design

Add branches: ['**'] to the push trigger of .github/workflows/copilot-setup-steps.yml. A tag push then matches no filter and starts no run. A branch push that changes the workflow file still starts it.

Target Subsystem

SDLC, Git & PR Governance (GitHub Actions workflows).

Existing Tool Considered

The GitHub Actions on.push.branches filter covers the need. Cost (estimate): about 10,000 tokens and 15 minutes to build.

Acceptance Criteria

  • actionlint passes.
  • The next 10 release tags start 0 Copilot Setup Steps runs.

Dependencies

None.

Source: #4667

Activity

  1. added
    source/agent
    on Nov 11, 2026
  2. added
    type/infra
    status/new
    value/medium
    effort/low
    on Nov 11, 2026
  3. dan-petty commented on Nov 11, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/infra. The ci prefix of the title gives the type.
    • Scope: none. The title has the scope copilot, and .github/labels.yml declares no scope/copilot label. Add the label to the file to give the scope to this item.
    • Priority: P2-Medium. Wastes 120 CI runs per week but does not break any workflow or block releases.
    • Value: Medium. Saves CI minutes and Copilot allowance on every release tag push.
    • Effort: Low. Add one line (branches filter) to one workflow file.
    • Related: chore(github): Turn off AI Scan for pull requests to save allowance #1496, which asks for a different change. Both reduce unnecessary Copilot resource use, but #1496 turns off AI scan for PRs while this adds a branches filter to stop tag-triggered workflow runs.
  4. added
    priority/p2-medium
    owner/agent
    on Nov 11, 2026
  5. added
    status/in-review
    and removed
    status/new
    on Nov 12, 2026
  6. removed
    status/in-review
    owner/agent
    on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p2-mediumsource/agenttype/infravalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions