generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
41 lines (41 loc) · 1.23 KB
/
action.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
name: "verify conventional commits"
description: |
Check if commits of a PR match against the conventional commits specification.
See: https://conventionalcommits.org/
author: "taskmedia"
inputs:
token:
default: "${{ github.token }}"
description: "token to access GitHub API to receive PR commits"
required: false
skip_merge:
default: "true"
description: "skip merge commits"
required: false
skip_revert:
default: "true"
description: "skip revert commits"
required: false
types:
default: "fix|feat|revert"
description: "allow different types in commit message"
required: false
outputs:
breaking_commit:
description: "indicates if a breaking commit was found"
breaking_msg:
description: "returns the breaking message of the last breaking commit"
commits:
description: "JSON list of commits in PR"
count_commits:
description: "count of commits in PR"
invalid_commits:
description: "indicates if this commit does not match with conventional commits (other values might be empty)"
version_type:
description: "semantic versioning indicator (patch, minor or major)"
runs:
using: "node16"
main: "dist/index.js"
branding:
icon: "git-pull-request"
color: "green"