Revert agentic issue-triage workflow (#19155)

Reverts #19057

Unfortunately wasn't able to get this to work since the permissions will
always cause it to not be triggered when someone outside our GitHub orgs
contributes.
This commit is contained in:
Philipp Spiess 2025-10-20 12:20:08 +02:00 committed by GitHub
parent fee19b2d4e
commit afe3de3bd6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 0 additions and 3402 deletions

1
.gitattributes vendored
View File

@ -1 +0,0 @@
.github/workflows/*.lock.yml linguist-generated=true merge=ours

File diff suppressed because it is too large Load Diff

View File

@ -1,91 +0,0 @@
---
on:
issues:
types: [opened, reopened]
stop-after: +1d
reaction: eyes
permissions:
issues: read
discussions: read
pull-requests: read
contents: read
network: defaults
safe-outputs:
add-labels:
max: 5
add-comment:
allowed-domains:
- github.com
- tailwindcss.com
- play.tailwindcss.com
tools:
web-fetch:
web-search:
timeout_minutes: 10
engine:
id: claude
model: claude-sonnet-4-5-20250929
---
# Agentic Triage
You're a triage assistant for Tailwind CSS GitHub issues. Your task is to analyze issue #${{ github.event.issue.number }} and perform some initial triage tasks related to that issue.
1. Retrieve the issue content using the `get_issue` tool. If the issue is obviously spam, or generated by bot, or something else that is not an actual issue to be worked on, then do nothing and exit the workflow.
2. Next, use the GitHub tools to get the issue details
- Fetch the list of labels available in this repository. Use 'gh label list' bash command to fetch the labels. This will give you the labels you can use for triaging issues.
- Retrieve the issue content using the `get_issue`
- Fetch any comments on the issue using the `get_issue_comments` tool
- Find similar issues if needed using the `search_issues` tool
- List the issues to see other open issues in the repository using the `list_issues` tool
3. Analyze the issue content, considering:
- The issue title and description
- The type of issue (bug report, feature request, question, etc.)
- Technical areas mentioned
- Severity or priority indicators
- User impact
- Components affected
4. Verify that the GitHub issue is related to Tailwind CSS and appears to be a bug. Feature requests and ideas should be created in the discussions area. If the GitHub issue does not appear to be a Tailwind CSS bug, read the `CONTRIBUTING.md` file and write a helpful comment explaining how we track bugs here.
5. Validate that the GitHub issue contains instructions of a reproduction. Inline instructions or URL to a reproduction are valid. If no reproduction is found, read the `CONTRIBUTING.md` file and write a helpful comment asking for one. Then, add the `needs reproduction` tag.
6. Select appropriate labels for the issue from the provided list.
7. Write notes, ideas, nudges, resource links, debugging strategies and/or reproduction steps for the team to consider relevant to the issue.
8. Select appropriate labels from the available labels list provided above:
- Choose labels that accurately reflect the issue's nature
- Be specific but comprehensive
- Consider platform labels (android, ios) if applicable
- Search for similar issues, and if you find similar issues consider using a "duplicate" label if appropriate. Only do so if the issue is a duplicate of another OPEN issue.
- Only select labels from the provided list above
- It's okay to not add any labels if none are clearly applicable
9. Apply the selected labels:
- Use the `update_issue` tool to apply the labels to the issue
- DO NOT communicate directly with users
- If no labels are clearly applicable, do not apply any labels
10. Add an issue comment to the issue with your analysis:
- Start with "🤖 Automatic Triage"
- Provide a brief summary of the issue
- Mention any relevant details that might help the team understand the issue better
- Include any debugging strategies or reproduction steps if applicable
- Suggest resources or links that might be helpful for resolving the issue or learning skills related to the issue or the particular area of the codebase affected by it
- Mention any nudges or ideas that could help the team in addressing the issue
- If you have possible reproduction steps, include them in the comment
- If you have any debugging strategies, include them in the comment
- If appropriate break the issue down to sub-tasks and write a checklist of things to do.
- Use collapsed-by-default sections in the GitHub markdown to keep the comment tidy. Collapse all sections except the short main summary at the top.
@import .github/CONTRIBUTING.md
@import .github/ISSUE_TEMPLATE/bug-report.md