-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (32 loc) · 999 Bytes
/
semantic-title.yml
File metadata and controls
37 lines (32 loc) · 999 Bytes
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
name: "Lint PR"
on:
pull_request_target:
types:
- opened
- edited
- synchronize
jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
wip: true
ignoreLabels: |
bot
ignore-semantic-pull-request
- name: Hint valid formats
if: ${{ failure() }}
uses: thollander/actions-comment-pull-request@v1.4.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
message: |
Please adjust your PR title to match the [Conventional Commits spec](https://www.conventionalcommits.org/).
For example:
- fix: fix http client code
- feat: allow provided config object to extend other configs
- refactor!: drop support for node 6
- feat(ui): add button component