-
Notifications
You must be signed in to change notification settings - Fork 20
/
action.yml
36 lines (33 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
name: 'Jest badges generation action'
description: 'Action generating jest coverage badges and pushing them to the repo'
inputs:
no-commit:
description: 'If set to true, badges will not be committed by the github action.'
default: 'false'
branches:
description: 'Branches on which the badges should be generated. Commas separated.'
default: 'master,main'
target-branch:
description: 'Branch on which badges should be pushed. If left empty, current branch will be used.'
default: ''
coverage-summary-path:
description: 'Jest coverage summary path (json-summary). Defining this may be useful if you need to run this action on a monorepo.'
default: './coverage/coverage-summary.json'
commit-message:
description: 'Commit message of the commit with generated badges.'
default: 'Updating coverage badges'
commit-user:
description: 'User for the commit containing generated badges.'
default: ''
commit-user-email:
description: 'User email for the commit containing generated badges.'
default: ''
output-folder:
description: 'Where badges should be written (optional).'
default: './badges'
runs:
using: 'node16'
main: 'dist/index.js'
branding:
icon: check-square
color: green