-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
action.yml
106 lines (103 loc) · 3.72 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
name: Glob match
description: Search for files matching glob patterns.
author: tj-actions
inputs:
files:
description: 'File patterns'
required: false
files-separator:
description: 'Separator used to split the `files` input'
default: "\n"
required: false
excluded-files:
description: 'Excluded file patterns (optionally include `!` before the file pattern or it would be prepended)'
required: false
default: ""
excluded-files-separator:
description: 'Separator used to split the `excluded-files` input'
default: "\n"
required: false
files-from-source-file:
description: 'Source file to populate the `files` input'
required: false
default: ""
files-from-source-file-separator:
description: 'Separator used to split the `files-from-source-file` input'
default: "\n"
required: false
excluded-files-from-source-file:
description: 'Source file to populate the `excluded-files` input'
required: false
default: ""
excluded-files-from-source-file-separator:
description: 'Separator used to split the `excluded-files-from-source-file` input'
default: "\n"
required: false
follow-symbolic-links:
description: 'Indicates whether to follow symbolic links'
default: "true"
required: true
match-directories:
description: 'Indicates whether to include matched directories'
default: "true"
required: true
match-gitignore-files:
description: 'Indicates whether to match files in `.gitignore`'
default: "false"
required: true
read-gitignore:
description: 'Indicates whether to read `.gitignore`. The `.gitignore` file will be ignored if set to `false`. Overrides `match-gitignore-files`'
default: "true"
required: true
separator:
description: 'Separator used for the paths output.'
required: true
default: " "
safe-output:
description: 'Escape special characters of filenames used in the `paths` output'
required: false
default: "true"
strip-top-level-dir:
description: 'Strip the `$GITHUB_WORKSPACE` from the `paths` output'
required: false
default: "true"
include-deleted-files:
description: 'Include all matching deleted files'
required: false
default: "false"
base-ref:
description: 'Specify a base ref used for comparing changes, when `include-deleted-files` is set to `true`'
required: false
default: ${{ github.event.pull_request.base.ref }}
head-repo-fork:
description: 'Specify a boolean indicating a PR from a fork is used for comparing changes, when `include-deleted-files` is set to `true`'
required: false
default: ${{ github.event.pull_request.head.repo.fork }}
sha:
description: 'Specify a current commit SHA used for comparing changes, when `include-deleted-files` is set to `true`'
required: true
default: ${{ github.sha }}
base-sha:
description: 'Specify a base commit SHA used for comparing changes, when `include-deleted-files` is set to `true`'
required: false
working-directory:
description: 'Provide a path that is relative to `$GITHUB_WORKSPACE` for identifying the repository.'
required: true
default: '.'
diff:
description: 'Specify a diff string `..` or `...` used for comparing changes, when `include-deleted-files` is set to `true`'
required: false
outputs:
paths:
description: "List of filtered paths using the specified patterns and separator"
paths-output-file:
description: "List of filtered paths using the specified patterns and separator stored in a temporary file"
has-custom-patterns:
description: "Indicates whether at least one pattern was provided"
runs:
using: 'node20'
main: 'dist/index.js'
post: 'dist/cleanup/index.js'
branding:
icon: filter
color: white