Skip to content

Commit e861681

Browse files
BagToadCopilot
andcommitted
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>
1 parent b77057d commit e861681

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/triage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ on:
1414
jobs:
1515
discuss:
1616
if: github.event.action == 'labeled' && github.event.label.name == 'discuss'
17-
environment: cli-discuss-automation
1817
uses: desktop/gh-cli-and-desktop-shared-workflows/.github/workflows/triage-discuss.yml@main
1918
with:
2019
target_repo: 'github/cli'
2120
cc_team: '@github/cli'
21+
environment: cli-discuss-automation
2222
secrets:
2323
discussion_token: ${{ secrets.CLI_DISCUSSION_TRIAGE_TOKEN }}

0 commit comments

Comments
 (0)