lockdelta 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/action.yml CHANGED
@@ -20,7 +20,7 @@ inputs:
20
20
  pr-number:
21
21
  description: >
22
22
  GitHub PR number. Uses the PR's exact base and head commit SHAs via the gh CLI,
23
- which avoids branch timing issues. Set to ${{ github.event.pull_request.number }}.
23
+ which avoids branch timing issues. Typically set to github.event.pull_request.number.
24
24
  required: false
25
25
  repo:
26
26
  description: >
@@ -40,7 +40,8 @@ inputs:
40
40
  description: >
41
41
  YAML map of named package groups. Each group produces a boolean output named after
42
42
  the group, set to 'true' if any package in the group changed. Inspired by
43
- dorny/paths-filter. Example:
43
+ dorny/paths-filter. May be combined with filters-from; inline definitions take
44
+ precedence over the file on key collision. Example:
44
45
  auth:
45
46
  - pyjwt
46
47
  - cryptography
@@ -48,6 +49,12 @@ inputs:
48
49
  - httpx
49
50
  - requests
50
51
  required: false
52
+ filters-from:
53
+ description: >
54
+ Path to a YAML file containing named package group filters (same format as the
55
+ filters input). Merged with any inline filters; the inline filters input takes
56
+ precedence on key collision. Inspired by dorny/paths-filter's filters-from.
57
+ required: false
51
58
  markdown:
52
59
  description: >
53
60
  Set to 'true' to generate a markdown summary of changes. The summary has three
@@ -80,6 +87,15 @@ outputs:
80
87
  description: >
81
88
  JSON diff report. Schema matches DiffReport in the TypeScript types.
82
89
  Contains schema_version, generated_at, base_ref, head_ref, summary, and lockfiles[].
90
+ has-changes:
91
+ description: >
92
+ 'true' if at least one dependency changed, 'false' otherwise.
93
+ Useful for conditionally running downstream steps.
94
+ changed-groups:
95
+ description: >
96
+ JSON array of filter group names that had at least one changed package.
97
+ Only set when the filters or filters-from input is used.
98
+ Example: '["auth","http-client"]'
83
99
  markdown:
84
100
  description: >
85
101
  Markdown summary of dependency changes (Added/Changed/Removed sections).
@@ -87,4 +103,4 @@ outputs:
87
103
 
88
104
  runs:
89
105
  using: 'node24'
90
- main: 'dist/action.js'
106
+ main: 'dist/action.cjs'