Skip to content
Navigation Menu
Toggle navigation
Sign in
In this repository
All GitHub Enterprise
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub Enterprise
↵
Jump to
↵
In this organization
All GitHub Enterprise
↵
Jump to
↵
In this repository
All GitHub Enterprise
↵
Jump to
↵
Sign in
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
dorny
/
paths-filter
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Security
Insights
Additional navigation options
Code
Pull requests
Actions
Security
Insights
Files
5da0e4c
.github
.vscode
__tests__
dist
src
.editorconfig
.eslintignore
.eslintrc.json
.gitattributes
.gitignore
.prettierignore
.prettierrc.json
CHANGELOG.md
LICENSE
README.md
action.yml
jest.config.js
package-lock.json
package.json
tsconfig.json
Breadcrumbs
paths-filter
/
action.yml
Blame
Blame
Latest commit
History
History
55 lines (55 loc) · 2.39 KB
Breadcrumbs
paths-filter
/
action.yml
Top
File metadata and controls
Code
Blame
55 lines (55 loc) · 2.39 KB
Raw
name: 'Paths Changes Filter' description: 'Execute your workflow steps only if relevant files are modified.' author: 'Michal Dorner <dorner.michal@gmail.com>' inputs: token: description: 'GitHub Access Token' required: false default: ${{ github.token }} working-directory: description: 'Relative path under $GITHUB_WORKSPACE where the repository was checked out.' required: false ref: description: | Git reference (e.g. branch name) from which the changes will be detected. This option is ignored if action is triggered by pull_request event. required: false base: description: | Git reference (e.g. branch name) against which the changes will be detected. Defaults to repository default branch (e.g. master). If it references same branch it was pushed to, changes are detected against the most recent commit before the push. This option is ignored if action is triggered by pull_request event. required: false filters: description: 'Path to the configuration file or YAML string with filters definition' required: true list-files: description: | Enables listing of files matching the filter: 'none' - Disables listing of matching files (default). 'csv' - Coma separated list of filenames. If needed it uses double quotes to wrap filename with unsafe characters. 'json' - Serialized as JSON array. 'shell' - Space delimited list usable as command line argument list in linux shell. If needed it uses single or double quotes to wrap filename with unsafe characters. 'escape'- Space delimited list usable as command line argument list in linux shell. Backslash escapes every potentially unsafe character. required: false default: none initial-fetch-depth: description: | How many commits are initially fetched from base branch. If needed, each subsequent fetch doubles the previously requested number of commits until the merge-base is found or there are no more commits in the history. This option takes effect only when changes are detected using git against different base branch. required: false default: '100' outputs: changes: description: JSON array with names of all filters matching any of changed files runs: using: 'node20' main: 'dist/index.js' branding: color: blue icon: filter
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
You can’t perform that action at this time.