Skip to content

ci: add pr labeler github workflow#18

Merged
calebephrem merged 3 commits into
open-devhub:mainfrom
calebephrem:main
Jun 17, 2026
Merged

ci: add pr labeler github workflow#18
calebephrem merged 3 commits into
open-devhub:mainfrom
calebephrem:main

Conversation

@calebephrem

Copy link
Copy Markdown
Member

No description provided.

@beetle-ai

beetle-ai Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Summary by Beetle

This PR represents a maintenance and infrastructure update release (v1.1.0) that focuses on documentation cleanup, changelog updates, and CI/CD automation improvements. The changes remove deprecated command documentation, document recent session-based context management improvements, and introduce automated PR labeling based on conventional commit messages.

📁 File Changes Summary (Consolidated across all commits):

File Status Changes Description
README.md Modified +0/-2 Removed documentation for deprecated vision and search commands, indicating these features have been removed or are no longer supported
CHANGELOG.md Modified +11/-0 Added v1.1.0 release notes documenting the new session-based context management system and removal of redundant clearUserContext calls
.github/workflows/pr_labeler.yml Added +64/-0 Introduced automated PR labeling workflow that parses conventional commit messages and applies corresponding labels (chore, docs, feat, fix, perf, refactor, style, test)

Total Changes: 3 files changed, +75 additions, -2 deletions

🗺️ Walkthrough:

sequenceDiagram
participant Dev as Developer
participant PR as Pull Request
participant GH as GitHub Actions
participant Labeler as PR Labeler Workflow
Dev->>PR: Opens/Updates PR with commits
PR->>GH: Triggers on PR events
Note over GH: Events: opened, reopened, synchronize, edited
GH->>Labeler: Executes pr_labeler.yml
Labeler->>PR: Fetches all commits
loop For each commit
Labeler->>Labeler: Parse commit message
Labeler->>Labeler: Extract conventional type (feat, fix, docs, etc.)
end
Labeler->>PR: Apply labels automatically
Note over PR: Labels: chore, docs, etc.
Loading

🎯 Key Changes:

  • Documentation Cleanup: Removed references to vision and search commands from README, suggesting these features have been deprecated or removed from the codebase
  • Release Documentation: Added comprehensive v1.1.0 changelog entry highlighting the new session-based context management system and bug fixes
  • CI/CD Automation: Implemented automated PR labeling using conventional commit message parsing, improving PR organization and workflow efficiency
  • Conventional Commits Enforcement: The new workflow encourages adherence to conventional commit standards by automatically categorizing PRs

📊 Impact Assessment:

  • Security: ✅ Low risk. The PR labeler workflow uses actions/github-script@v8 with minimal permissions (read contents, write pull-requests). No security vulnerabilities introduced. The removal of vision and search commands may actually reduce attack surface if these features had external dependencies.
  • Performance: ✅ Neutral impact. The PR labeler workflow runs asynchronously on PR events and doesn't affect runtime performance. Uses pagination for commit fetching, which is efficient for large PRs. No performance-related code changes in the main application.
  • Maintainability: ✅ Positive improvement. The automated labeling reduces manual PR management overhead. Clear changelog documentation helps track version history. Removal of deprecated features reduces technical debt. The workflow is well-structured with clear regex patterns and error handling.
  • Testing: ⚠️ No test coverage changes. The PR labeler workflow itself has no tests, but it's a simple automation script. Consider adding test cases to verify: (1) correct label extraction from various conventional commit formats, (2) handling of PRs with no conventional commits, (3) handling of mixed commit types. The removal of vision and search commands should be accompanied by removal of related tests (not visible in this PR).
⚙️ Settings

Severity Threshold: Medium — Balanced feedback — medium and high severity issues only.Change in Settings
Custom Rules: Define your own review rules — Set Custom Rules
PR Summary: Configure PR summary — Change in Settings

📖 User Guide
  • Once repos are connected, PR analysis is automatically enabled. You can disable analysis for this repo from beetleai.dev/analysis
  • Comment @beetle on any PR to start analysis manually
  • Comment @beetle stop to stop any ongoing analysis

Follow us: Beetle · X · LinkedIn

@calebephrem calebephrem merged commit 6ad38b9 into open-devhub:main Jun 17, 2026
1 of 2 checks passed
@beetle-ai

beetle-ai Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

✅ You're good to merge this PR! No issues found. Great job!

Settings
⚙️ Settings

Severity Threshold: Medium — Balanced feedback — medium and high severity issues only.Change in Settings
Custom Rules: Define your own review rules — Set Custom Rules
PR Summary: Configure PR summary — Change in Settings

📖 User Guide
  • Once repos are connected, PR analysis is automatically enabled. You can disable analysis for this repo from beetleai.dev/analysis
  • Comment @beetle on any PR to start analysis manually
  • Comment @beetle stop to stop any ongoing analysis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant