Skip to content

Commit

Permalink
add workaround for dorny/paths-filter@v3's predicate-quantifier i…
Browse files Browse the repository at this point in the history
…nput (#416)
  • Loading branch information
rhysd committed May 7, 2024
1 parent d8e9b53 commit 2ac37c7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
15 changes: 8 additions & 7 deletions popular_actions.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions scripts/generate-popular-actions/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 2ac37c7

Please sign in to comment.