fix: update docker image ghcr.io/coder/code-server to 4.95.2 #4669
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: PR - MEGALinter | |
on: # yamllint disable-line rule:truthy | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
fetch-depth: 0 | |
- name: Generate Token | |
uses: tibdex/github-app-token@v2 | |
id: generate-token | |
with: | |
app_id: ${{ secrets.TVORIES_APP_ID }} | |
private_key: ${{ secrets.TVORIES_APP_PRIVATE_KEY }} | |
- name: MegaLinter | |
uses: megalinter/megalinter/flavors/terraform@v8 | |
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", | |
"CREDENTIALS_SECRETLINT", | |
"GIT_GIT_DIFF", | |
"KUBERNETES_KUBEVAL", | |
"MARKDOWN_MARKDOWNLINT", | |
"PYTHON_PYLINT", | |
"PYTHON_FLAKE8", | |
"TERRAFORM_TERRAFORM_FMT", | |
"YAML_PRETTIER", | |
"YAML_YAMLLINT" | |
] | |
'), | |
',' | |
) | |
}} | |
KUBERNETES_DIRECTORY: k8s | |
KUBERNETES_KUBEVAL_ARGUMENTS: --ignore-missing-schemas | |
KUBERNETES_KUBEVAL_FILTER_REGEX_INCLUDE: "(k8s/clusters|k8s/global)" | |
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: .github/linters/.yamllint.yaml | |
YAML_PRETTIER_FILTER_REGEX_EXCLUDE: "(.*\\.sops\\.ya?ml)" | |
- name: Archive artifacts | |
if: ${{ success() }} || ${{ failure() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: MegaLinter reports | |
path: | | |
report | |
mega-linter.log |