Fix PR title to conventional format.
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
Automatically on PR: opened, reopened, synchronize, edited
name: Fix PR Titleon:
pull_request:
types: [opened, reopened, synchronize, edited]branches: [main]jobs:
fix-title:
runs-on: ubuntu-lateststeps:
- uses: libnudget/title@v1Before:ADD: new featureAfter:[add] new feature
Or:
Before:[feat] add new featureAfter:[feat] new feature
Or:
Before:[ci] add macos jobAfter:[ci] macos job
The add prefix is removed entirely from titles.
MIT