Skip to content

Commit

Permalink
build: lint pr title to be conventional commit (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
bruuuuuuuce authored Nov 1, 2021
1 parent f8d246c commit f495c08
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/lint_pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "Lint PR"

on:
pull_request:
branches: [ main ]

jobs:
main:
runs-on: ubuntu-latest
steps:
# Please look up the latest version from
# https://github.com/amannn/action-semantic-pull-request/releases
- uses: amannn/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
validateSingleCommit: true

0 comments on commit f495c08

Please sign in to comment.