mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-25 22:22:23 -05:00
Check OpenAPI yaml files (#1094)
Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
This commit is contained in:
parent
8edccefb88
commit
3ce39c07d9
1 changed files with 10 additions and 0 deletions
|
@ -624,6 +624,16 @@ function BuildFileList() {
|
|||
FILE_ARRAY_CLOUDFORMATION+=("${FILE}")
|
||||
fi
|
||||
|
||||
############################
|
||||
# Check if file is OpenAPI #
|
||||
############################
|
||||
if DetectOpenAPIFile "${FILE}"; then
|
||||
################################
|
||||
# Append the file to the array #
|
||||
################################
|
||||
FILE_ARRAY_OPENAPI+=("${FILE}")
|
||||
fi
|
||||
|
||||
########################################
|
||||
# Check if the file is Tekton template #
|
||||
########################################
|
||||
|
|
Loading…
Reference in a new issue