Skip to content

Commit 90e6529

Browse files
committed
Add: [CI] check commit messages on PR
1 parent 081e9b2 commit 90e6529

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Commit checker
2+
3+
on:
4+
pull_request:
5+
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.ref }}
8+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
9+
10+
jobs:
11+
commit-checker:
12+
name: Commit checker
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 4
20+
21+
- name: Get pull-request commits
22+
uses: OpenTTD/actions/checkout-pull-request@v5
23+
24+
- name: Check commits
25+
uses: OpenTTD/OpenTTD-git-hooks@main

0 commit comments

Comments
 (0)