This repository has been archived by the owner on Jul 8, 2024. It is now read-only.
fix(container): update rancher/system-upgrade-controller docker tag to v0.13.4 #4014
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@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 | |
with: | |
fetch-depth: 0 | |
- name: Generate Token | |
uses: tibdex/github-app-token@v2 | |
id: generate-token | |
with: | |
app_id: "${{ secrets.BOT_APP_ID }}" | |
private_key: "${{ secrets.BOT_APP_PRIVATE_KEY }}" | |
- name: MegaLinter | |
uses: megalinter/megalinter/flavors/terraform@v7 | |
env: | |
VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'workflow_dispatch' }} | |
GITHUB_TOKEN: "${{ steps.generate-token.outputs.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 | |
- name: Archive production artifacts | |
if: ${{ success() }} || ${{ failure() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: MegaLinter reports | |
path: | | |
report | |
mega-linter.log |