diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index de8a883..de39e0d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -26,6 +26,8 @@ jobs: env: LINTER_RULES_PATH: . DEFAULT_BRANCH: main + CSS_FILE_NAME: .stylelintrc.yml + YAML_CONFIG_FILE: .yamllint VALIDATE_ALL_CODEBASE: false VALIDATE_ANSIBLE: false VALIDATE_JAVASCRIPT_STANDARD: false diff --git a/docker-compose.super-linter.yml b/docker-compose.super-linter.yml index 5746a3f..3c62f66 100644 --- a/docker-compose.super-linter.yml +++ b/docker-compose.super-linter.yml @@ -9,6 +9,7 @@ services: - USE_FIND_ALGORITHM=true - LINTER_RULES_PATH=../rules - CSS_FILE_NAME=.stylelintrc.yml + - YAML_CONFIG_FILE=.yamllint - VALIDATE_ANSIBLE=false - VALIDATE_JAVASCRIPT_STANDARD=false - VALIDATE_DOCKERFILE_HADOLINT=false diff --git a/package.json b/package.json index 064b222..54137ff 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ci-example", - "version": "1.2.0", + "version": "1.2.1", "description": "CIの例", "main": "index.js", "keywords": [], diff --git a/super-linter.sh b/super-linter.sh index 58cd715..4889adc 100755 --- a/super-linter.sh +++ b/super-linter.sh @@ -50,6 +50,8 @@ copy_target_files() { cp "${file}" "${WORKDIR}/${file}" done + cp .editorconfig "${WORKDIR}/.editorconfig" + } lint() {