Skip to content

Label your pull request using the conventional commit standards

Notifications You must be signed in to change notification settings

action-runner/conventional-labeler

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Conventional Labeler

Test and Release

Conventional labeler will label your PR based on your PR's feature if it follows the conventional commit's guideline

Required input

  • access_token: can be set by using ${{ secrets.GITHUB_TOKEN }}

Example

  label:
    runs-on: ubuntu-latest
    name: Lint PR
    steps:
      - name: label
        uses: action-runner/conventional-labeler@v1
        with:
          access_token: ${{ secrets.GITHUB_TOKEN }}
      - name: Get the output
        run: echo "The labels were ${{ steps.label.outputs.labels }}"