Skip to content

Commit

Permalink
ci: add semantic title check (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
TarikGul authored Aug 26, 2023
1 parent 0b57149 commit 9aacee7
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/semantic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: PR Title

on:
pull_request:
branches:
- main
types:
- opened
- edited
- synchronize
pull_request_target:
types:
- opened
- edited
- synchronize

jobs:
validate-title:
permissions:
pull-requests: read # for amannn/action-semantic-pull-request to analyze PRs
name: Validate PR Title
runs-on: ubuntu-latest
steps:
- name: semantic-pull-request
uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9aacee7

Please sign in to comment.