-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: add GitHub Actions workflow for labeling PRs with Conventional Commits #2522
Conversation
…r changelog to improve consistency and clarity in release notes
…larity and consistency across labels in changelog section
…of supported types in changelog and conventional labels workflows
…e pull requests using Namchee/conventional-pr action
…abel PRs with Conventional Commits on PR synchronization.
.github/release.yml
Outdated
- title: ✨ New Features | ||
description: New features and enhancements | ||
labels: | ||
- feature |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the mapping of the labeler: https://github.com/action-runner/conventional-labeler/blob/2c9e06155ac5585f82ca9440b3e5edba9e81d433/src/client/conventional_commit.ts#L4-L16
feat: "enhancement",
fix: "bug",
docs: "documentation",
style: "style",
refactor: "refactor",
perf: "performance",
test: "test",
chore: "chore",
build: "build",
IIUC there won't be any label "feature" but we should match "enhancement"
can you please confirm?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! I'll fix it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be good now
…y in changelog section
…mmits (langflow-ai#2522) * feat: Add GitHub Actions workflow for labeling PRs with Conventional Commits * feat(release.yml): add release.yml file with predefined categories for changelog to improve consistency and clarity in release notes * style(release.yml): change 'perf' label to 'performance' for better clarity and consistency across labels in changelog section
…mmits (langflow-ai#2522) * feat: Add GitHub Actions workflow for labeling PRs with Conventional Commits * feat(release.yml): add release.yml file with predefined categories for changelog to improve consistency and clarity in release notes * style(release.yml): change 'perf' label to 'performance' for better clarity and consistency across labels in changelog section (cherry picked from commit 238497d)
This pull request adds a GitHub Actions workflow that automatically labels pull requests based on Conventional Commits. The workflow uses predefined categories for changelog to improve consistency and clarity in release notes. This will help streamline the labeling process and ensure that pull requests are properly categorized.