/
action.yml
32 lines (29 loc) · 1.49 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
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
---
name: PR Metrics
author: Microsoft DevLabs
description: Augments pull request titles to let reviewers quickly determine PR size and test coverage
inputs:
base-size:
description: 'Base size: The maximum number of new lines in an extra small PR. If left blank, a default of ''200'' will be used.'
required: false
growth-rate:
description: 'Growth rate: The growth rate applied to the base size for calculating the size of larger PRs. If left blank, a default of ''2.0'' will be used.'
required: false
test-factor:
description: 'Test factor: The lines of test code expected for each line of product code. This check can be disabled by setting the value to ''0''. If left blank, a default of ''1.0'' will be used.'
required: false
file-matching-patterns:
description: 'File matching patterns: Globs (https://aka.ms/PRMetrics/Globs) specifying the files and folders to include. Autogenerated files should typically be excluded. Excluded files will contain a comment to inform reviewers that they do not to need to review those files. If left blank, a default of ''**/*'' will be used.'
required: false
code-file-extensions:
description: 'Code file extensions: Extensions for files containing code so that non-code files can be excluded. If left blank, a default set of file extensions will be used.'
required: false
runs:
using: node20
main: dist/index.js
branding:
icon: hash
color: blue
...