Skip to content

Commit

Permalink
chore: use action-semantic-pull-request (electron#2012)
Browse files Browse the repository at this point in the history
  • Loading branch information
erickzhao authored May 3, 2022
1 parent e347889 commit 70753dc
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/semantic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Check Semantic Commit"

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

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

0 comments on commit 70753dc

Please sign in to comment.