Skip to content

support making scopes optional for some types while using requireScope as true #285

Description

@aattalla

Something like this scopeOptionalForTypes in the following example

steps:
      - name: Lint PR Title
        id: lint_pr_title
        uses: amannn/action-semantic-pull-request@v5.5.3
        continue-on-error: true
        with:
          requireScope: true
          types: |
            feat
            fix
            docs
            style
            refactor
            perf
            test
            build
            ci
            revert
          scopeOptionalForTypes: |
            build
            ci
          scopes: |
            ui
            ux
            test

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions