feat(docker-image): update app-template docker tag to v2.5.0 #1080
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: Lint | |
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: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4 | |
with: | |
fetch-depth: 0 | |
- name: Generate Token | |
uses: tibdex/github-app-token@v2 | |
id: generate-token | |
with: | |
app_id: ${{ secrets.APP_ID }} | |
private_key: ${{ secrets.APP_PRIVATE_KEY }} | |
- name: MegaLinter | |
uses: oxsecurity/[email protected] | |
env: | |
GITHUB_TOKEN: "${{ steps.generate-token.outputs.token }}" | |
PRINT_ALPACA: false | |
VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'workflow_dispatch' }} | |
ENABLE_LINTERS: |- | |
${{ | |
join( | |
fromJSON(' | |
[ | |
"ACTION_ACTIONLINT", | |
"ANSIBLE_ANSIBLE_LINT", | |
"COPYPASTE_JSCPD", | |
"KUBERNETES_KUBEVAL", | |
"MARKDOWN_MARKDOWNLINT", | |
"PYTHON_FLAKE8", | |
"PYTHON_PYLINT", | |
"REPOSITORY_GIT_DIFF", | |
"REPOSITORY_SECRETLINT", | |
"TERRAFORM_TERRAFORM_FMT", | |
"YAML_PRETTIER", | |
"YAML_YAMLLINT" | |
] | |
'), | |
',' | |
) | |
}} | |
COPYPASTE_JSCPD_CONFIG_FILE: .ci/jscpd/jscpd.json | |
KUBERNETES_DIRECTORY: k8s | |
KUBERNETES_KUBEVAL_ARGUMENTS: --ignore-missing-schemas | |
KUBERNETES_KUBEVAL_FILTER_REGEX_INCLUDE: "(kubernetes)" | |
MARKDOWN_MARKDOWNLINT_CONFIG_FILE: .github/linters/markdownlint.config.yaml | |
MARKDOWN_MARKDOWNLINT_RULES_PATH: .github/ | |
PYTHON_FLAKE8_CONFIG_FILE: .github/linters/.flake8 | |
YAML_YAMLLINT_CONFIG_FILE: .ci/yamllint/.yamllint.yaml | |
YAML_PRETTIER_CONFIG_FILE: .ci/prettier/.prettierrc.yaml |