From e861681139365fd0f31a4a96c915900df3d80e37 Mon Sep 17 00:00:00 2001 From: Kynan Ware <47394200+BagToad@users.noreply.github.com> Date: Tue, 17 Feb 2026 07:27:01 -0700 Subject: [PATCH] Pass environment as input to shared triage workflow The `environment` property cannot be set at the job level when using `uses:` to call a reusable workflow. Pass it as a workflow input instead. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/triage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/triage.yml b/.github/workflows/triage.yml index 8a80efdf5..84fd76528 100644 --- a/.github/workflows/triage.yml +++ b/.github/workflows/triage.yml @@ -14,10 +14,10 @@ on: 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 with: target_repo: 'github/cli' cc_team: '@github/cli' + environment: cli-discuss-automation secrets: discussion_token: ${{ secrets.CLI_DISCUSSION_TRIAGE_TOKEN }}