Skip to content

Commit 9abaad3

Browse files
committed
Add Lint PR workflow
1 parent 7ee90f9 commit 9abaad3

File tree

2 files changed

+19
-13
lines changed

2 files changed

+19
-13
lines changed

.github/pull_request_template.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,6 @@ Detail the steps to test your changes. This helps reviewers verify your work.
3030
- Include relevant testing environment details if applicable.
3131
-->
3232

33-
### Type of Change
34-
35-
<!-- Mark all applicable boxes with an 'x'. -->
36-
37-
- [ ] 🐛 **Bug Fix**: Non-breaking change that fixes an issue.
38-
- [ ]**New Feature**: Non-breaking change that adds functionality.
39-
- [ ] 💥 **Breaking Change**: Fix or feature that would cause existing functionality to not work as expected.
40-
- [ ] ♻️ **Refactor**: Code change that neither fixes a bug nor adds a feature.
41-
- [ ] 💅 **Style**: Changes that do not affect the meaning of the code (white-space, formatting, etc.).
42-
- [ ] 📚 **Documentation**: Updates to documentation files.
43-
- [ ] ⚙️ **Build/CI**: Changes to the build process or CI configuration.
44-
- [ ] 🧹 **Chore**: Other changes that don't modify `src` or test files.
45-
4633
### Pre-Submission Checklist
4734

4835
<!-- Go through this checklist before marking your PR as ready for review. -->

.github/workflows/lint-pr.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: "Lint PR"
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- edited
8+
- reopened
9+
10+
jobs:
11+
main:
12+
name: Validate PR title
13+
runs-on: ubuntu-latest
14+
permissions:
15+
pull-requests: read
16+
steps:
17+
- uses: amannn/action-semantic-pull-request@v5
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)