Skip to content

Commit 3b9c012

Browse files
committed
ci: adhere to Conventional Commits in PR titles
1 parent d7621e7 commit 3b9c012

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.github/workflows/semantic-pr.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Semantic PR
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- edited
7+
- opened
8+
- reopened
9+
- synchronize
10+
11+
permissions:
12+
pull-requests: read
13+
14+
jobs:
15+
semantic-pr:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: amannn/action-semantic-pull-request@v5
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

docs/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# django-management-commands
22

3+
[![Conventional Commits](https://img.shields.io/badge/Conventional_Commits-1.0.0-fa6673?logo=conventional-commits)][conventional-commits]
4+
35
## License
46

57
Released under the [MIT license][license].
68

9+
[conventional-commits]: https://www.conventionalcommits.org/
710
[license]: https://github.com/paduszyk/django-management-commands/blob/main/LICENSE

0 commit comments

Comments
 (0)