Skip to content

Commit

Permalink
ci: Create semantic-pr.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
teolemon authored Jul 30, 2024
1 parent cfacc13 commit 90a1673
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/semantic-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: "Semantic PRs"

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

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# Configure which types are allowed.
# Default: https://github.com/commitizen/conventional-commit-types
types: |
fix
feat
docs
refactor
ci
chore
test
style
# Configure which scopes are allowed.
#scopes: |
# core
# ui

0 comments on commit 90a1673

Please sign in to comment.