Skip to content

libnudget/title

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Title

Fix PR title to conventional format.

What it does

Auto-converts PR title formats and removes 'add' prefixes:

  • Add: new feature[add] new feature
  • [ADD] new feature[add] new feature
  • [ci] add macos job[ci] macos job

Trigger

Automatically on PR: opened, reopened, synchronize, edited

Usage

name: Fix PR Title

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

jobs:
  fix-title:
    runs-on: ubuntu-latest
    steps:
      - uses: libnudget/title@v1

Example

Before: ADD: new feature After: [add] new feature

Or: Before: [feat] add new feature After: [feat] new feature

Or: Before: [ci] add macos job After: [ci] macos job

The add prefix is removed entirely from titles.

License

MIT

About

Fix PR titles. Tracking: https://github.com/harpertoken/harper/pulls

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors