Skip to content

Commit

Permalink
fix: Avoid non semantic commontes can be merged. (philips-labs#1969)
Browse files Browse the repository at this point in the history
* fix: Avoid non semantic commontes can be merged.

* fix: Avoid non semantic commontes can be merged.

* fix: Avoid non semantic commontes can be merged.
  • Loading branch information
npalm authored Apr 25, 2022
1 parent cba98fd commit ad1c872
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/semantic-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "Semantic Check"

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

permissions:
contents: read
pull-requests: read

jobs:
main:
name: Semantic Commit Message Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: amannn/action-semantic-pull-request@v4
name: Check PR for Semantic Commit Message
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
requireScope: false
validateSingleCommit: true
ignoreLabels: release merge

0 comments on commit ad1c872

Please sign in to comment.