chore(deps): update megalinter/megalinter digest to d8c95fc #4113
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: MegaLinter | |
on: # yamllint disable-line rule:truthy | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: MegaLinter | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
fetch-depth: 0 | |
- name: MegaLinter | |
uses: megalinter/megalinter/flavors/terraform@d8c95fc6f2237031fb9e9322b0f97100168afa6e # v8 | |
env: | |
VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'workflow_dispatch' }} | |
PRINT_ALPACA: false | |
GITHUB_TOKEN: "${{ secrets.TOKEN }}" | |
ENABLE_LINTERS: ACTION_ACTIONLINT, ANSIBLE_ANSIBLE_LINT, BASH_SHELLCHECK, DOCKERFILE_HADOLINT, ENV_DOTENV_LINTER, GIT_GIT_DIFF, JSON_JSONLINT, KUBERNETES_KUBEVAL, MARKDOWN_MARKDOWNLINT, TERRAFORM_TFLINT, YAML_YAMLLINT | |
ANSIBLE_DIRECTORY: ansible | |
ANSIBLE_ANSIBLE_LINT_CONFIG_FILE: .ansible-lint | |
KUBERNETES_DIRECTORY: cluster | |
KUBERNETES_KUBEVAL_ARGUMENTS: --ignore-missing-schemas | |
MARKDOWN_MARKDOWNLINT_CONFIG_FILE: .markdownlint.yaml | |
TERRAFORM_TFLINT_CONFIG_FILE: .tflint.hcl | |
YAML_YAMLLINT_CONFIG_FILE: .yamllint.yaml | |
SHELLCHECK_OPTS: "-e SC2086" | |
- name: Archive production artifacts | |
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4 | |
with: | |
name: MegaLinter reports | |
path: | | |
report | |
mega-linter.log |