-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
43 lines (38 loc) · 1.39 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
name: 'Find changed directories'
description: 'Create matrix expression to build only changed packages'
author: 'Smartly.io'
inputs:
directory_containing:
description: >-
Find changes to directories containing a file with this name.
This is mutually excludive with the directory_levels option.
required: false
directory_levels:
required: false
description: >-
Find changes to directories nested to this level.
e.g. "directory_levels: 1" will provide the first level (in the
repository root) directories that contain changes, no matter how
deeply nested the changed files are.
This is mutually excludive with the directory_containing option.
exclude:
description: >-
Exclude directories that match the pattern. If overriding,
remember to include matching /^\\.github\\/.*/.
Exclusion is applied after discovering changes based on the
pattern.
This should be a regular expression pattern.
required: false
default: "^\\.github($|\\/.*)"
outputs:
matrix:
description: "Matrix to use in a downstream job"
matrix_empty:
description: "'true' if there are no values in the matrix"
changed_directories:
description: "List of directories containing changes"
diff_base:
description: "Git commit used as the base for finding pull request changes"
runs:
using: 'node20'
main: 'dist/index.js'