-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
26 lines (26 loc) · 820 Bytes
/
action.yml
File metadata and controls
26 lines (26 loc) · 820 Bytes
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
name: "Barecheck - Code Duplication"
description: "GitHub Action that posts generates code duplication reports"
branding:
icon: "check-circle"
color: "yellow"
inputs:
barecheck-github-app-token:
description: Barecheck application token, received after application installation
required: true
barecheck-api-key:
description: Barecheck project API key
required: false
lines-threshold:
description: "Minimum code duplications lines threshold percentage that would fail a build once it reached"
default: "1"
required: false
send-summary-comment:
description: "Send Github Pull request comment with code duplications summary"
default: ""
required: false
outputs:
percentage:
description: "Total Percentage duplication"
runs:
using: "node12"
main: "dist/index.js"