Skip to content
This repository was archived by the owner on Apr 10, 2021. It is now read-only.

Latest commit

 

History

History
23 lines (17 loc) · 441 Bytes

File metadata and controls

23 lines (17 loc) · 441 Bytes

Pull Request Title Action

A GitHub Action to ensure a PR title matches a Jira Ticket ID

Usage

Create a workflow definition at .github/workflows/pr-title.yml with the following contents:

name: PR Title

on:
  pull_request:
    types: [opened, edited, reopened]

jobs:
  pr-title:
    runs-on: ubuntu-latest
    steps:
    - uses: lendeavor/pr-title-action@v1
      with:
        repo_token: ${{ secrets.GITHUB_TOKEN }}