This GitHub action labels your pull request based on conventional commits using semantic-release
Create a workflow .yml
file in your .github/workflows
directory. An example workflow is available below.
For more information, reference the GitHub Help Documentation for Creating a workflow file
token
: Github authentication tokentag-format
: The semantic release tag format
is-release
: Whether there is a release or notrelease-type
: The release typerelease-name
: The name of the releaserelease-notes
: The release notes
on:
pull_request:
types: [synchronize, opened]
name: GitHub action workflow name
jobs:
context:
name: Job name
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Semantic Labeler
uses: woksin-org/semantic-labeler-action@v1