Skip to content

Conversation

@nashif
Copy link
Member

@nashif nashif commented Nov 22, 2025

Prevent auto-generated PR titles:

  • Prevents cryptic titles: No more auto-generated titles like "Fix bug
    123"
  • Encourages meaningful descriptions: Forces authors to write
    descriptive titles
  • Improves searchability: Better titles make PRs easier to find later
  • Better release notes: Meaningful titles improve changelog quality

Signed-off-by: Anas Nashif anas.nashif@intel.com

@nashif
Copy link
Member Author

nashif commented Nov 22, 2025

examples...

#99141
#99433

Prevent auto-generated PR titles:

- Prevents cryptic titles: No more auto-generated titles like "Fix bug
  123"
- Encourages meaningful descriptions: Forces authors to write
  descriptive titles
- Improves searchability: Better titles make PRs easier to find later
- Better release notes: Meaningful titles improve changelog quality

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
@nashif nashif force-pushed the topic/ci/autogenerate_title branch from c4bd6d8 to 561a04a Compare November 22, 2025 11:13
@sonarqubecloud
Copy link

Comment on lines +111 to +113
if pr_title in potential_auto_titles or pr_title.lower() in [
t.lower() for t in potential_auto_titles
]:
Copy link
Member

Choose a reason for hiding this comment

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

how about doing lower() on branch_name and pr_title above, then you'd get away with a single match here rather than this pycrobatics

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants