Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

Add missing environment and label check to triage workflow#12706

Merged
BagToad merged 2 commits intokw/use-shared-triage-workflowscli/cli:kw/use-shared-triage-workflowsfrom
copilot/sub-pr-12677cli/cli:copilot/sub-pr-12677Copy head branch name to clipboard
Feb 17, 2026
Merged

Add missing environment and label check to triage workflow#12706
BagToad merged 2 commits intokw/use-shared-triage-workflowscli/cli:kw/use-shared-triage-workflowsfrom
copilot/sub-pr-12677cli/cli:copilot/sub-pr-12677Copy head branch name to clipboard

Conversation

Copy link
Contributor

Copilot AI commented Feb 17, 2026

Restores two configurations that were inadvertently removed during the migration to shared workflows in #12677:

  • environment: cli-discuss-automation — Required for the discuss job to access CLI_DISCUSSION_TRIAGE_TOKEN when creating internal issues in github/cli
  • Label name check — Adds github.event.label.name == 'discuss' to the job condition to prevent triggering on unrelated labels
jobs:
  discuss:
    if: github.event.action == 'labeled' && github.event.label.name == 'discuss'
    environment: cli-discuss-automation
    uses: desktop/gh-cli-and-desktop-shared-workflows/.github/workflows/triage-discuss.yml@main

Without these, the workflow would either fail authentication or run unnecessarily on every labeled event.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: BagToad <47394200+BagToad@users.noreply.github.com>
@BagToad BagToad marked this pull request as ready for review February 17, 2026 14:07
@BagToad BagToad requested a review from a team as a code owner February 17, 2026 14:07
@BagToad BagToad requested review from williammartin and removed request for a team February 17, 2026 14:07
Copilot AI changed the title [WIP] Address feedback on migrating issue triage workflows Add missing environment and label check to triage workflow Feb 17, 2026
Copilot AI requested a review from BagToad February 17, 2026 14:07
@BagToad BagToad merged commit b77057d into kw/use-shared-triage-workflows Feb 17, 2026
7 checks passed
@BagToad BagToad deleted the copilot/sub-pr-12677 branch February 17, 2026 14:08
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.