MCPcopy Index your code
hub / github.com/bcoe/conventional-release-labels

github.com/bcoe/conventional-release-labels @v1.3.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.3.1 ↗ · + Follow
5 symbols 8 edges 2 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Conventional Release Labels

Conventional Commits

Action that automatically adds labels to pull requests based on Conventional Commits. These labels can be used in conjunction GitHub's automatically generated release notes:

Setting up action

Create a .github/workflows/conventional-label.yaml:

# Warning, do not check out untrusted code with
# the pull_request_target event.
on:
  pull_request_target:
    types: [ opened, edited ]
name: conventional-release-labels
jobs:
  label:
    runs-on: ubuntu-latest
    steps:
      - uses: bcoe/conventional-release-labels@v1

Create a .github/release.yaml:

changelog:
  exclude:
    labels:
      - ignore-for-release
    authors:
      - octocat
  categories:
    - title: Breaking Changes 🛠
      labels:
        - breaking
    - title: Exciting New Features 🎉
      labels:
        - feature
    - title: Fixes 🔧
      labels:
        - fix
    - title: Other Changes
      labels:
        - "*"

Configuration

input description
token A GitHub secret token, the action defaults to using the special, default: secrets.GITHUB_TOKEN
type_labels Mapping from Conventional Commit types to pull request labels, default: {"feat": "feature", "fix": "fix", "breaking": "breaking"}
ignored_types Conventional commit types that should have ignore_label applied, default: ["chore"]
ignore_label label to apply for ignored commits, default: ignore-for-release

Enjoy 🎉

Related Tools

tool description
release-please-action Fully automated releases with Conventional Commits

License

Apache Version 2.0

Core symbols most depended-on inside this repo

getOctokit
called by 2
index.js
main
called by 1
index.js
isPullRequest
called by 0
index.js
addLabels
called by 0
index.js
removeLabel
called by 0
index.js

Shape

Function 5

Languages

TypeScript100%

Modules by API surface

index.js5 symbols

For agents

$ claude mcp add conventional-release-labels \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact