GitHub Workflows fileMatch no-recurse (#2344)

Workflows are found in `.github/workflows/` but not in subdirs
thereof. This can easily be verified by creating a new repo and
putting a hello-world workflow into such a dir, e.g.
`.github/workflows/hello_world/runme.yaml`

Therefore, the fileMatch rule should be done with `*`, not `**`.
This commit is contained in:
Stephen Rosen
2022-07-14 12:16:09 -04:00
committed by GitHub
parent 0ef9845d8d
commit 285a5c8a87

View File

@@ -1264,7 +1264,7 @@
{
"name": "GitHub Workflow",
"description": "YAML schema for GitHub Workflow",
"fileMatch": [".github/workflows/**.yml", ".github/workflows/**.yaml"],
"fileMatch": [".github/workflows/*.yml", ".github/workflows/*.yaml"],
"url": "https://json.schemastore.org/github-workflow.json"
},
{