Rename triage workflow to triage-discussion-label
Rename .github/workflows/triage.yml to .github/workflows/triage-discussion-label.yml and update the workflow name from "Discussion Triage" to "Process Discuss Label" to better reflect its intent.
This commit is contained in:
parent
e861681139
commit
e1983ce457
1 changed files with 1 additions and 1 deletions
23
.github/workflows/triage-discussion-label.yml
vendored
Normal file
23
.github/workflows/triage-discussion-label.yml
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
name: Process Discuss Label
|
||||
run-name: ${{ github.event_name == 'issues' && github.event.issue.title || github.event.pull_request.title }}
|
||||
permissions: {}
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
- labeled
|
||||
# pull_request_target (not pull_request) to access secrets for fork PRs.
|
||||
# Safe: no PR code is checked out or executed.
|
||||
pull_request_target:
|
||||
types:
|
||||
- labeled
|
||||
|
||||
jobs:
|
||||
discuss:
|
||||
if: github.event.action == 'labeled' && github.event.label.name == 'discuss'
|
||||
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