2020-06-15 21:49:10 +02:00
|
|
|
name: 'Paths filter'
|
|
|
|
description: 'Execute your workflow steps only if relevant files are modified.'
|
2020-05-21 00:31:39 +02:00
|
|
|
author: 'Michal Dorner <dorner.michal@gmail.com>'
|
2020-05-20 17:03:08 +02:00
|
|
|
inputs:
|
2020-05-26 17:16:09 +02:00
|
|
|
token:
|
2020-05-21 01:37:33 +02:00
|
|
|
description: 'GitHub Access Token'
|
2020-05-26 17:16:09 +02:00
|
|
|
required: false
|
2020-05-24 21:17:51 +02:00
|
|
|
default: ${{ github.token }}
|
2020-07-02 22:56:14 +02:00
|
|
|
working-directory:
|
|
|
|
description: 'Relative path under $GITHUB_WORKSPACE where the repository was checked out.'
|
|
|
|
required: false
|
2020-06-24 21:53:31 +02:00
|
|
|
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
|
2020-05-21 00:31:39 +02:00
|
|
|
filters:
|
2020-05-24 22:50:33 +02:00
|
|
|
description: 'Path to the configuration file or YAML string with filters definition'
|
2020-07-11 23:33:11 +02:00
|
|
|
required: false
|
|
|
|
outputs:
|
|
|
|
files:
|
|
|
|
description: 'Changed files grouped by status - added, deleted or modified.'
|
2020-05-20 17:03:08 +02:00
|
|
|
runs:
|
|
|
|
using: 'node12'
|
|
|
|
main: 'dist/index.js'
|
2020-05-21 00:31:39 +02:00
|
|
|
branding:
|
|
|
|
color: blue
|
2020-07-11 23:33:11 +02:00
|
|
|
icon: filter
|