diff --git a/.github/workflows/agent-triage.yml b/.github/workflows/agent-triage.yml index 79f87282c..cba1f8887 100644 --- a/.github/workflows/agent-triage.yml +++ b/.github/workflows/agent-triage.yml @@ -2,7 +2,7 @@ name: Agent Triage on: issues: - types: [opened] + types: [labeled] permissions: contents: read @@ -13,7 +13,8 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 if: >- - github.event.issue.user.type != 'Bot' + github.event.label.name == 'agent-triage' && + github.event.sender.type != 'Bot' steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2