Skip to content

ShivamHS/PR-naming

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PR Naming

This will take care of your PR naming, if it is matched with the regex pattern you have given or not

Example

name: Delete Tag

on:
 pull_request:
    types: [opened, synchronize, reopened, edited] 
    branches:
      - master

jobs:
   pr-title-check::
    runs-on: windows-latest

    steps:

      - name: Check PR title format
        uses: ShivamHS/[email protected]
        with:
          token: ${{ secrets.GITHUB_TOKEN }} 
          repo:  your-repo-name
          owner: repo-owner
          pattern: enter the regex pattern for validation