diff --git a/popular_actions.go b/popular_actions.go index 301df2fad..3857e3ae8 100644 --- a/popular_actions.go +++ b/popular_actions.go @@ -2035,13 +2035,14 @@ var PopularActions = map[string]*ActionMetadata{ "dorny/paths-filter@v3": { Name: "Paths Changes Filter", Inputs: ActionMetadataInputs{ - "base": {"base", false}, - "filters": {"filters", true}, - "initial-fetch-depth": {"initial-fetch-depth", false}, - "list-files": {"list-files", false}, - "ref": {"ref", false}, - "token": {"token", false}, - "working-directory": {"working-directory", false}, + "base": {"base", false}, + "filters": {"filters", true}, + "initial-fetch-depth": {"initial-fetch-depth", false}, + "list-files": {"list-files", false}, + "predicate-quantifier": {"predicate-quantifier", false}, + "ref": {"ref", false}, + "token": {"token", false}, + "working-directory": {"working-directory", false}, }, SkipOutputs: true, }, diff --git a/scripts/generate-popular-actions/main.go b/scripts/generate-popular-actions/main.go index e21ee6f91..290aa9c95 100644 --- a/scripts/generate-popular-actions/main.go +++ b/scripts/generate-popular-actions/main.go @@ -180,6 +180,17 @@ func (g *gen) fetchRemote() (map[string]*actionlint.ActionMetadata, error) { close(done) return nil, f.err } + + // Workaround for #416. + // Once this PR is merged, remove this `if` statement and regenerate popular_actions.go. + // https://github.com/dorny/paths-filter/pull/236 + if f.spec == "dorny/paths-filter@v3" { + f.meta.Inputs["predicate-quantifier"] = &actionlint.ActionMetadataInput{ + Name: "predicate-quantifier", + Required: false, + } + } + ret[f.spec] = f.meta }