Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 600 Bytes

File metadata and controls

28 lines (20 loc) · 600 Bytes

Conventional Commits

This workflow checks that pull request titles follow the Conventional Commits specification.

Secrets

GITHUB_TOKEN

Required The GitHub token to use for authentication.

Example usage

name: Lint PR Title

on:
  pull_request_target:
    types:
      - opened
      - edited
      - reopened

jobs:
  lint-pr-title:
    uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/conventional-commits.yaml@conventional-commits-v1.0.0
    secrets:
      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}