-
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (30 loc) · 874 Bytes
/
ci.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
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: Cog action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: |
git config user.name github-actions
git config user.email [email protected]
git config --global user.email [email protected]
git config --global user.name github-actions
- name: Conventional commit check
if: ${{ github.event_name == 'pull_request' }}
uses: cocogitto/cocogitto-action@v3
with:
verify: ${{ github.event.pull_request.title }}
- name: Conventional commit check
uses: cocogitto/cocogitto-action@v3
with:
git-user: 'github-actions'
git-user-email: '[email protected]'