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@ac7e3fc035c47465748bbcb1a822c1583cf79bbc 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