File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,12 @@ private data class ActionCoords(
9595)
9696
9797private fun checkInputAndOutputNames () {
98+ val notValidatedActions: List < (ActionCoords ) -> Boolean > = listOf (
99+ // Doesn't have a major version branch/tag, and we keep the typings by the major version
100+ { it.owner == " DamianReeves" && it.name == " write-file-action" },
101+ )
102+
103+
98104 val actionsWithYamlExtension = Files .walk(Path (" typings" ))
99105 .filter { it.name == " action-types.yaml" }
100106 .toList()
@@ -121,6 +127,12 @@ private fun checkInputAndOutputNames() {
121127 for (action in actions) {
122128 println ()
123129 println (" ➡\uFE0F For https://github.com/${action.owner} /${action.name} /tree/${action.version} /${action.path ? : " " } " )
130+
131+ if (notValidatedActions.any { predicate -> predicate(action) }) {
132+ println (" Skipping..." )
133+ continue
134+ }
135+
124136 val typings = loadTypings(path = action.pathToTypings)
125137 val typingsInputs = if (" inputs" in typings) (typings[" inputs" ] as Map <String , Any >).keys else emptySet()
126138 val typingsOutputs = if (" outputs" in typings) (typings[" outputs" ] as Map <String , Any >).keys else emptySet()
You can’t perform that action at this time.
0 commit comments