diff --git a/.github/workflows/pt-title.yaml b/.github/workflows/pt-title.yaml new file mode 100644 index 0000000..914fa74 --- /dev/null +++ b/.github/workflows/pt-title.yaml @@ -0,0 +1,25 @@ +name: "Lint PR" + +on: + pull_request_target: + types: + - opened + - edited + - synchronize + +jobs: + main: + name: Validate PR title + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5 + with: + requireScope: false + types: | + fix + feat + fix! + feat! + chore + env: + GITHUB_TOKEN: ${{ secrets.TOKEN }}