Skip to content

Commit 2ac37c7

Browse files
committed
add workaround for dorny/paths-filter@v3's predicate-quantifier input (#416)
1 parent d8e9b53 commit 2ac37c7

File tree

2 files changed

+19
-7
lines changed

2 files changed

+19
-7
lines changed

popular_actions.go

Lines changed: 8 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/generate-popular-actions/main.go

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,17 @@ func (g *gen) fetchRemote() (map[string]*actionlint.ActionMetadata, error) {
180180
close(done)
181181
return nil, f.err
182182
}
183+
184+
// Workaround for #416.
185+
// Once this PR is merged, remove this `if` statement and regenerate popular_actions.go.
186+
// https://github.com/dorny/paths-filter/pull/236
187+
if f.spec == "dorny/paths-filter@v3" {
188+
f.meta.Inputs["predicate-quantifier"] = &actionlint.ActionMetadataInput{
189+
Name: "predicate-quantifier",
190+
Required: false,
191+
}
192+
}
193+
183194
ret[f.spec] = f.meta
184195
}
185196

0 commit comments

Comments
 (0)