diff --git a/lib/linter.sh b/lib/linter.sh index 7a95e9c9..dddc2a55 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -417,7 +417,7 @@ DetectOpenAPIFile() ############################### # Check the file for keywords # ############################### - grep -E '"openapi":|"swagger":|^openapi:|^swagger:' "$GITHUB_WORKSPACE/$FILE" > /dev/null + grep -E '"openapi":|"swagger":|^openapi:|^swagger:' "$FILE" > /dev/null ####################### # Load the error code #