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