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>
This commit is contained in:
parent
b77057d825
commit
e861681139
1 changed files with 1 additions and 1 deletions
2
.github/workflows/triage.yml
vendored
2
.github/workflows/triage.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue