name: "Check Pull Request" on: pull_request_target: types: - opened - edited - synchronize permissions: pull-requests: write jobs: main: name: Validate PR title runs-on: ubuntu-latest steps: - uses: amannn/action-semantic-pull-request@e49f57ce06c1747542fce2243c7a98682384bc0e env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: types: | chore ci docs feat fix test sec requireScope: false wip: false # If the PR only contains a single commit, the action will validate that # it matches the configured pattern. validateSingleCommit: true # Related to `validateSingleCommit` you can opt-in to validate that the PR # title matches a single commit to avoid confusion. validateSingleCommitMatchesPrTitle: true