bcoe / conventional-release-labels

Apply labels for automatically generated release notes, based on conventionalcommits.org
Apache License 2.0
322 stars 14 forks source link

How To Add Custom type_labels? #37

Closed mehdihadeli closed 1 year ago

mehdihadeli commented 1 year ago

Hi @bcoe, How can I define some extra type_labels for conventional commits instead of default ones?

gardar commented 1 year ago

Just add them as string containing a json dict under the job, like so:

- uses: bcoe/conventional-release-labels@v1
   with:
     type_labels: '{"feat": "feature", "fix": "fix", "breaking": "breaking"}'
mehdihadeli commented 1 year ago

Thanks