Skip to content

Commit c6037fe

Browse files
authored
fix(ci): triage only triggers when agent-triage label is added by a qualified user (#2176)
1 parent a215cd2 commit c6037fe

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/agent-triage.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Agent Triage
22

33
on:
44
issues:
5-
types: [opened]
5+
types: [labeled]
66

77
permissions:
88
contents: read
@@ -13,7 +13,8 @@ jobs:
1313
runs-on: ubuntu-latest
1414
timeout-minutes: 10
1515
if: >-
16-
github.event.issue.user.type != 'Bot'
16+
github.event.label.name == 'agent-triage' &&
17+
github.event.sender.type != 'Bot'
1718
steps:
1819
- name: Checkout
1920
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

0 commit comments

Comments
 (0)