diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..fd396cac --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,25 @@ + diff --git a/.github/workflows/pull-request-title-validator.yml b/.github/workflows/pull-request-title-validator.yml new file mode 100644 index 00000000..1fc6065f --- /dev/null +++ b/.github/workflows/pull-request-title-validator.yml @@ -0,0 +1,28 @@ +name: "Pull Request Title Validator" + +on: + pull_request_target: + types: + - opened + - edited + - synchronize + - reopened + +permissions: + pull-requests: read + +jobs: + # Ensure PR title matches Angular Commit Guidelines + validate-pr-title: + name: Validate PR title + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5 + with: + subjectPattern: ^(?![A-Z]).+(?