Skip to content
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

Merged
merged 8 commits into from
Jul 4, 2024

Conversation

ogabrielluiz
Copy link
Contributor

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.

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. enhancement New feature or request labels Jul 4, 2024
…larity and consistency across labels in changelog section
…of supported types in changelog and conventional labels workflows
@ogabrielluiz ogabrielluiz added the ci label Jul 4, 2024
@ogabrielluiz ogabrielluiz enabled auto-merge (squash) July 4, 2024 04:03
- title: ✨ New Features
description: New features and enhancements
labels:
- feature
Copy link
Contributor

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?

Copy link
Contributor Author

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be good now

@ogabrielluiz ogabrielluiz removed the ci label Jul 4, 2024
@ogabrielluiz ogabrielluiz requested a review from nicoloboschi July 4, 2024 13:32
@ogabrielluiz ogabrielluiz merged commit 238497d into main Jul 4, 2024
7 checks passed
@ogabrielluiz ogabrielluiz deleted the add_release_notes branch July 4, 2024 13:38
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jul 4, 2024
ogabrielluiz added a commit to yaitec/langflow that referenced this pull request Jul 9, 2024
…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
nicoloboschi pushed a commit to datastax/ragstack-ai-langflow that referenced this pull request Jul 10, 2024
…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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants