-
Notifications
You must be signed in to change notification settings - Fork 42
49 lines (44 loc) · 1.11 KB
/
semantic_pr_check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: "Verify Semantic PR Title"
on:
pull_request:
types:
- opened
- edited
- synchronize
- ready_for_review
env:
AIRBYTE_ANALYTICS_ID: ${{ vars.AIRBYTE_ANALYTICS_ID }}
permissions:
pull-requests: read
jobs:
validate_pr_title:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
if: ${{ github.event.pull_request.draft == false }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# Configure which types are allowed (newline-delimited).
# These are intentionally case-insensitive, allowing title casing or all lowercase.
# See: https://github.com/commitizen/conventional-commit-types/blob/master/index.json
types: |
fix
Fix
feat
Feat
docs
Docs
ci
CI
chore
Chore
build
Build
test
Test
# # We don't use scopes as of now
# scopes: |
# core
# ui