Add GitHub Actions auto-labeling workflows#273
Open
stealthwhizz wants to merge 2 commits intoGenAI-Security-Project:mainfrom
Open
Add GitHub Actions auto-labeling workflows#273stealthwhizz wants to merge 2 commits intoGenAI-Security-Project:mainfrom
stealthwhizz wants to merge 2 commits intoGenAI-Security-Project:mainfrom
Conversation
Add 6 automated labeling workflows: - Quality labels (mutually exclusive high/medium/low) - PR size labels by files changed (small/medium/large/very large) - Activity tracking labels (active/getting stale/stale/abandoned) - Content-based issue/PR labeling by keywords - New contributor detection and labeling - Database migration file detection All workflows use GITHUB_TOKEN, create labels dynamically with colors, use pull_request_target for fork compatibility, and clean up conflicting labels before applying new ones.
Expand the content labeler workflow with Regis's suggested taxonomy: - Type labels: bug, enhancement, documentation, question, security - Priority labels: high, medium, low (mutually exclusive) - Area/Scope labels: ctf, agents, tools, tests, frontend, build, database, admin, web - Contributor signals: good first issue, help wanted - Status: auto-apply "needs triage" to new issues Add GitHub Issue Template: - Bug Report, Feature Request, Documentation, Question, Security Smarter keyword mapping with phrase matching (e.g., "steps to reproduce" maps to bug, "proposal" maps to enhancement).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
quality: high/medium/low— adding one removes the otherssize: small/medium/large/very largebased on files changed countactivity: active/getting stale/stale/abandonedlabels for open issues and PRstype: bug,type: enhancement,type: documentation,type: question,type: securitypriority: high,priority: medium,priority: lowarea: ctf,area: agents,area: tools,area: tests,area: frontend,area: build,area: database,area: admin,area: webgood first issue,help wantedstatus: needs triageto every new issuefirst contributionlabeldatabase migrationlabel whenalembic/versions/files are changedIssue Templates
Added GitHub Issue Templates that auto-apply type labels on creation:
type: bugtype: enhancementtype: documentationtype: questiontype: securityDesign decisions
GITHUB_TOKENonly (no external API keys)pull_request_targetis used for all PR triggers (fork-compatible)Test plan
size: smalllabel appearssize: largelabelquality: highthenquality: low→ verifyquality: highis removedtype: buglabel is appliedtype: buglabelpriority: highlabelstatus: needs triageis auto-appliedfirst contributionlabelalembic/versions/→ verifydatabase migrationlabel