-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
63 lines (61 loc) · 1.94 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: "vmd-action"
description:
"A static code analysis tool for detecting code smells and best practice
violations in Vue.js and Nuxt.js projects."
branding:
icon: "code"
color: "green"
inputs:
github-token:
description: >
Personal access token (PAT) used to fetch the repository. The PAT is
configured with the local git config, which enables your scripts to run
authenticated git commands. The post-job step removes the PAT.
We recommend using a service account with the least permissions necessary.
Also when generating a new PAT, select the least scopes necessary.
[Learn more about creating and using encrypted
secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)
required: false
default: ${{ github.token }}
version:
description: "Version of Vue Mess Detector"
required: true
default: "latest"
skipInstall:
description: "Skip the installation of Vue Mess Detector"
required: true
default: "false"
skipBots:
description: "Skip analysis on pull requests from bots?"
required: true
default: "true"
commentsEnabled:
description: "Comment on Pull requests?"
required: true
default: "true"
packageManager:
description: "Package manager to use"
required: false
runArgs:
description: "Arguments to pass to Vue Mess Detector"
default: "--group=file"
required: false
entryPoint:
description: "Entry point for Vue Mess Detector"
required: false
srcDir:
description: "Source directory to analyze"
required: true
default: "src/"
deleteOldComments:
description: "Delete old comments on pull requests?"
required: false
default: "false"
relativeMode:
description:
"Generate a report comparing the current branch with the target branch"
required: true
default: "true"
runs:
using: "node20"
main: "dist/index.js"