mirror of
https://gitea.com/actions/dorny-paths-filter.git
synced 2024-11-27 12:23:24 +08: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 |