mirror of
https://github.com/dorny/paths-filter.git
synced 2024-12-20 00:49:04 +00:00
f9b6173f5e
* 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
16 lines
533 B
YAML
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 |