-
Notifications
You must be signed in to change notification settings - Fork 0
76 lines (64 loc) · 2.04 KB
/
action-conventional-commits-taskmedia.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# https://github.com/taskmedia/action-conventional-commits/tree/main
# TEST 1
# feat: update action conventional commits
# BREAKING CHANGE: `extends` key in config file is now used for extending other config files
# ING-3232
# success
# TEST 2
# fixup! feat: update action conventional commits
# BREAKING CHANGE: `extends` key in config file is now used for extending other config files
# ING-3232
# fails
# TEST 3
# docs: update action conventional commits
# BREAKING CHANGE: `extends` key in config file is now used for extending other config files
# ING-3232
# success
# TEST 4
# feat!: send an email to the customer when a product is shipped
# BREAKING CHANGE: `extends` key in config file is now used for extending other config files
# ING-3231
# success
# TEST 5
# feat(api)!: send an email to the customer when a product is shipped
# Introduce a request id and a reference to latest request. Dismiss
# incoming responses other than from latest request.
#
# Remove timeouts which were used to mitigate the racing issue but are
# obsolete now.
#
# Reviewed-by: Z
# Refs: #123
# success
# TEST 6
# chore: send an email to the customer when a product is shipped
# Introduce a request id and a reference to latest request. Dismiss
# incoming responses other than from latest request.
# success - but I wanted it to fail
name: Action Conventional Commits Taskmedia
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build:
name: Conventional Commits
runs-on: ubuntu-latest
steps:
- uses: taskmedia/[email protected]
with:
# token to access GitHub API to receive PR commits
# Default: ${{ github.token }}
token: ${{ secrets.GITHUB_TOKEN }}
# skip merge commits
# Default: true
skip_merge: ""
# skip revert commits
# Default: true
skip_revert: ""
# allow different types in commit message
# Default: fix|feat|revert
types: "feat|fix|docs|style|refactor|perf|test|chore"