feat: add allow-override-on-pr input

This commit is contained in:
Sascha Bratton
2026-05-03 14:32:31 -04:00
parent f3ceefdc7e
commit d4dd38dcf1
5 changed files with 41 additions and 6 deletions

View File

@@ -49,6 +49,14 @@ inputs:
allows to override the "at least one pattern" behavior to make it so that all of the patterns have to match or otherwise the file is excluded.
required: false
default: 'some'
allow-override-on-pr:
description: |
When true, the user-provided `base` and/or `ref` inputs are honored even if the action
is triggered by a pull_request, pull_request_review, pull_request_review_comment, or
pull_request_target event. In that case the action skips the GitHub API path and uses
git diff against the provided base/ref. Has no effect if `base` and `ref` are both empty.
required: false
default: 'false'
outputs:
changes:
description: JSON array with names of all filters matching any of changed files