From 3e4b0ccaadf5bab20d67087dc8da24b0a8e3c790 Mon Sep 17 00:00:00 2001 From: Jack Ivanov Date: Tue, 8 Dec 2020 12:27:00 +0000 Subject: [PATCH] linter --- .ansible-lint => .ansible-lint.yml | 0 .github/workflows/linter.yml | 4 +++- 2 files changed, 3 insertions(+), 1 deletion(-) rename .ansible-lint => .ansible-lint.yml (100%) diff --git a/.ansible-lint b/.ansible-lint.yml similarity index 100% rename from .ansible-lint rename to .ansible-lint.yml diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index f28759c..187fbee 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -14,6 +14,8 @@ jobs: steps: - name: Checkout Code uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: Lint Code Base uses: docker://github/super-linter:v3 @@ -21,7 +23,7 @@ jobs: ACTIONS_RUNNER_DEBUG: true DEFAULT_BRANCH: master GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - ANSIBLE_DIRECTORY: "algo" + ANSIBLE_DIRECTORY: . ANSIBLE_FILE_NAME: .ansible-lint OUTPUT_DETAILS: detailed VALIDATE_ALL_CODEBASE: false