Skip to content

Commit 796db7c

Browse files
authored
Merge branch 'main' into fix/rspack-import-meta-property-access
2 parents 30e46ad + 176382a commit 796db7c

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/triage-agent.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Issue Triage Agent
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
7+
jobs:
8+
triage:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
issues: write
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Triage issue with Warp Agent
16+
uses: warpdotdev/warp-agent-action@v1
17+
env:
18+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
with:
20+
warp_api_key: ${{ secrets.WARP_API_KEY }}
21+
profile: ${{ vars.WARP_AGENT_PROFILE || '' }}
22+
prompt: |
23+
Triage GitHub issue #${{ github.event.issue.number }} in ${{ github.repository }}.
24+
25+
## Instructions
26+
1. Read the bug report template at `.github/ISSUE_TEMPLATE/bug-report.yml` to understand required fields
27+
2. Use `gh issue view ${{ github.event.issue.number }}` to read the issue
28+
3. Evaluate if all required fields have meaningful content (not placeholders)
29+
4. If the issue is missing information or has inadequate details:
30+
- Use `gh issue comment ${{ github.event.issue.number }}` to post a friendly comment explaining what's missing
31+
5. If the issue is complete and actionable, do nothing

0 commit comments

Comments
 (0)