--- name: "Validate PR Title" on: pull_request: branches: - "**" types: - opened - edited - synchronize - reopened jobs: validate-pr-title: runs-on: ubuntu-latest permissions: statuses: write pull-requests: read steps: - name: Validate PR title follows conventional commits uses: amannn/action-semantic-pull-request@v6 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: # Configure the types of commits allowed types: | feat fix docs style refactor perf test build ci chore revert security # Allow scopes (optional) requireScope: false # Allow any scope (not just the ones listed above) validateSingleCommit: false ignoreLabels: | bot ignore-semantic-pull-request