-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathaction.yml
More file actions
64 lines (60 loc) · 2.25 KB
/
action.yml
File metadata and controls
64 lines (60 loc) · 2.25 KB
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
64
name: Dependency Diff
description: Summarise differences between dependency versions when upgrading.
author: James Garbutt (@43081j)
branding:
icon: zap
color: 'gray-dark'
inputs:
base-ref:
description: 'Base ref to compare against (defaults to main or PR target)'
required: false
github-token:
description: 'The GitHub token for authentication.'
required: true
default: ${{ github.token }}
pr-number:
description: 'The number of the pull request to comment on.'
required: true
default: ${{ github.event.pull_request.number }}
dependency-threshold:
description: 'Threshold for warning about significant increase in number of dependencies'
required: false
default: '10'
size-threshold:
description: 'Threshold (in bytes) for warning about significant increase in package size'
required: false
default: '100000'
base-packages:
description: 'Glob pattern for base branch pack files (e.g., "./base-packs/*.tgz")'
required: false
source-packages:
description: 'Glob pattern for source branch pack files (e.g., "./source-packs/*.tgz")'
required: false
pack-size-threshold:
description: 'Threshold (in bytes) for warning about significant increase in total pack size. Set to -1 to always report size changes.'
required: false
default: '50000'
duplicate-threshold:
description: 'Threshold for warning about packages with multiple versions'
required: false
default: '1'
detect-replacements:
description: 'Detect modules which have community suggested alternatives'
required: false
default: true
working-directory:
description: 'Working directory to scan for package lock file'
required: false
mode:
description: 'Run mode. "comment" posts a PR comment directly, "artifact" writes a JSON file containing the comment body and PR number, "comment-from-artifact" reads a previously written artifact file and posts it as a PR comment.'
required: false
default: 'comment'
artifact-path:
description: 'Path to the artifact JSON file. Required when mode is "comment-from-artifact".'
required: false
outputs:
artifact-path:
description: 'Path to the artifact JSON file. Set when mode is "artifact".'
runs:
using: node24
main: build/main.js