diff --git a/.github/workflows/ansible-lint.yml b/.github/workflows/ansible-lint.yml index cd88cb33..1bf2f7dd 100644 --- a/.github/workflows/ansible-lint.yml +++ b/.github/workflows/ansible-lint.yml @@ -8,11 +8,10 @@ jobs: steps: # Important: This sets up your GITHUB_WORKSPACE environment variable - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - name: Lint Ansible Playbook - # Using the latest as of today (2022-06-23) v6.2.1 - uses: ansible/ansible-lint-action@v6.17.0 + uses: ansible/ansible-lint-action@v6 # Let's point it to the path with: path: "ansible/" diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 85f6d576..d351c41f 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -29,7 +29,7 @@ jobs: # Checkout the code base # ########################## - name: Checkout Code - uses: actions/checkout@v4 + uses: actions/checkout@v3 with: # Full git history is needed to get a proper list of changed files within `super-linter` fetch-depth: 0 @@ -48,18 +48,9 @@ jobs: # VALIDATE_ALL_CODEBASE: false # DEFAULT_BRANCH: main # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Run make test run: | make test - - name: Run make helmlint run: | make helmlint - - - name: Run make helm kubeconform - run: | - curl -L -O https://github.com/yannh/kubeconform/releases/download/v0.4.13/kubeconform-linux-amd64.tar.gz - tar xf kubeconform-linux-amd64.tar.gz - sudo mv -v kubeconform /usr/local/bin - make kubeconform diff --git a/.github/workflows/superlinter.yml b/.github/workflows/superlinter.yml index dcaa36ba..0279bafd 100644 --- a/.github/workflows/superlinter.yml +++ b/.github/workflows/superlinter.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout Code - uses: actions/checkout@v4 + uses: actions/checkout@v3 with: # Full git history is needed to get a proper list of changed files within `super-linter` fetch-depth: 0 @@ -32,7 +32,7 @@ jobs: VALIDATE_KUBERNETES_KUBECONFORM: false VALIDATE_YAML: false VALIDATE_ANSIBLE: false - VALIDATE_TEKTON: false - # VALIDATE_DOCKERFILE_HADOLINT: false + VALIDATE_DOCKERFILE_HADOLINT: false # VALIDATE_MARKDOWN: false # VALIDATE_NATURAL_LANGUAGE: false + VALIDATE_TEKTON: false diff --git a/common/.github/linters/.gitleaks.toml b/common/.github/linters/.gitleaks.toml index b80cdc04..e17416cf 100644 --- a/common/.github/linters/.gitleaks.toml +++ b/common/.github/linters/.gitleaks.toml @@ -2,7 +2,5 @@ # As of v4, gitleaks only matches against filename, not path in the # files directive. Leaving content for backwards compatibility. files = [ - "ansible/plugins/modules/*.py", - "ansible/tests/unit/test_*.py", - "ansible/tests/unit/v1/*.yaml", + "tests/*.yaml", ]