Skip to content

🚀 Feature: [pr-title-conventional] Allow specifying allowed scopes and types #121

@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Feature Request Checklist

Overview

https://github.com/amannn/action-semantic-pull-request is a great existing action dedicated to enforcing semantic PR titles. https://github.com/amannn/action-semantic-pull-request?tab=readme-ov-file#configuration mentions quite a few configuration fields it accepts under with.

To start, I'd like to add allowlists for scopes and types. This is what we use in typescript-eslint.

Additional Info

After this issue, I'll file followups for the remaining options. In particular, subjectPattern and subjectPatternError are also used by typescript-eslint.

🗺

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: blockedWaiting for something else to be resolved 🙅type: featureNew enhancement or request 🚀

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions