paths-filter/action.yml
Michal Dorner f9b6173f5e
Fixes - making action pass self-test (#3)
* Remove accidental string interpolation from action.yml

* Fix test workflow filters

* Improve self-test

* Add test case for matching any changed file

* Fix workflow test - step `name` was used instead of `id`

* Extend default pull_request trigger types

* Remove `edited` trigger to avoid executing workflow on non-code changes
2020-05-21 01:37:33 +02:00

16 lines
533 B
YAML

name: 'Pull request changed files filter'
description: 'Enables conditional execution of workflow job steps considering which files are modified by a pull request.'
author: 'Michal Dorner <dorner.michal@gmail.com>'
inputs:
githubToken:
description: 'GitHub Access Token'
required: true
filters:
description: 'YAML dictionary where keys specifies rule names and values are lists of (globbing) file path patterns'
required: true
runs:
using: 'node12'
main: 'dist/index.js'
branding:
color: blue
icon: filter