diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 6ae2fd2fa5..692ba9a8ea 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -30,19 +30,6 @@ Detail the steps to test your changes. This helps reviewers verify your work. - Include relevant testing environment details if applicable. --> -### Type of Change - - - -- [ ] ๐Ÿ› **Bug Fix**: Non-breaking change that fixes an issue. -- [ ] โœจ **New Feature**: Non-breaking change that adds functionality. -- [ ] ๐Ÿ’ฅ **Breaking Change**: Fix or feature that would cause existing functionality to not work as expected. -- [ ] โ™ป๏ธ **Refactor**: Code change that neither fixes a bug nor adds a feature. -- [ ] ๐Ÿ’… **Style**: Changes that do not affect the meaning of the code (white-space, formatting, etc.). -- [ ] ๐Ÿ“š **Documentation**: Updates to documentation files. -- [ ] โš™๏ธ **Build/CI**: Changes to the build process or CI configuration. -- [ ] ๐Ÿงน **Chore**: Other changes that don't modify `src` or test files. - ### Pre-Submission Checklist diff --git a/.github/workflows/lint-pr.yaml b/.github/workflows/lint-pr.yaml new file mode 100644 index 0000000000..142e52249a --- /dev/null +++ b/.github/workflows/lint-pr.yaml @@ -0,0 +1,19 @@ +name: "Lint PR" + +on: + pull_request_target: + types: + - opened + - edited + - reopened + +jobs: + main: + name: Validate PR title + runs-on: ubuntu-latest + permissions: + pull-requests: read + steps: + - uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}