Skip to content

Commit

Permalink
feat: add pr-semantic workflow (#331)
Browse files Browse the repository at this point in the history
Because

- We want to do the semantic title check for PR

This commit

- add pr-semantic workflow
- close #330
  • Loading branch information
EiffelFly committed Jan 16, 2023
1 parent 8e75663 commit e6084c0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/pr-semantic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "Lint PR"

on:
pull_request_target:
types:
- opened
- edited
- synchronize

jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e6084c0

Please sign in to comment.