forked from codepunkt/npm-lockfile-changes
-
Notifications
You must be signed in to change notification settings - Fork 3
/
action.yml
28 lines (28 loc) · 1.05 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
name: 'NPM Lockfile Changes'
description: 'Creates a comment inside Pull Request with the human-readable summary of the changes to the "package-lock.json" file.'
branding:
icon: 'copy'
color: 'yellow'
inputs:
collapsibleThreshold:
description: 'Number of lock changes, which will result in collapsed comment content an addition of summary table.'
required: false
default: '25'
failOnDowngrade:
description: 'When a dependency downgrade is detected, fail the action.'
required: false
default: 'false'
path:
description: 'Path to the "package-lock.json" file in the repository. Default value points to the file at project root.'
required: false
default: 'package-lock.json'
token:
description: 'GitHub token for the bot, so it can publish a comment in the pull request.'
required: true
updateComment:
description: 'Update the comment on each new commit. If value is set to "false", bot will post a new one on each change.'
required: false
default: 'true'
runs:
using: 'node16'
main: 'dist/index.js'