mega-linter: stage: test allow_failure: true image: "${IMAGE_PREFIX}oxsecurity/megalinter:latest" script: ["/bin/bash /entrypoint.sh"] variables: DEFAULT_WORKSPACE: $CI_PROJECT_DIR # Please see https://github.com/oxsecurity/megalinter for mega linter setting options ENABLE: "JSON" FILTER_REGEX_EXCLUDE: (none) rules: - if: $MEGA_LINTER_DISABLED when: never - if: $CI_COMMIT_BRANCH artifacts: when: always paths: - "**/linters_logs/**"