paths-filter/action.yml

23 lines
845 B
YAML
Raw Normal View History

name: 'Paths filter'
description: 'Execute your workflow steps only if relevant files are modified.'
2020-05-20 22:31:39 +00:00
author: 'Michal Dorner <dorner.michal@gmail.com>'
2020-05-20 15:03:08 +00:00
inputs:
token:
description: 'GitHub Access Token'
required: false
default: ${{ github.token }}
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-20 22:31:39 +00:00
filters:
description: 'Path to the configuration file or YAML string with filters definition'
2020-05-20 22:31:39 +00:00
required: true
2020-05-20 15:03:08 +00:00
runs:
using: 'node12'
main: 'dist/index.js'
2020-05-20 22:31:39 +00:00
branding:
color: blue
icon: filter