Add missing environment and label check to triage workflow

Co-authored-by: BagToad <47394200+BagToad@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-02-17 14:05:39 +00:00
parent 772e677e73
commit 8e6cdf7059

View file

@ -13,7 +13,8 @@ on:
jobs:
discuss:
if: github.event.action == 'labeled'
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
with:
target_repo: 'github/cli'