Skip to content

Commit

Permalink
Pin super-linter to specific version (prometheus-community#191)
Browse files Browse the repository at this point in the history
https://github.com/github/super-linter/blob/master/action.yml

The GitHub action refers to the v3 tag of the docker image:

```yaml
name: 'Super-Linter'
author: 'GitHub'
description: 'It is a simple combination of various linters, written in bash, to help validate your source code.'
runs:
  using: 'docker'
  image: 'docker://ghcr.io/github/super-linter:v3'
branding:
  icon: 'check-square'
  color: 'white'
```

It's a floating tag as one can check in https://hub.docker.com/r/github/super-linter/tags

Kubeval was added in https://github.com/github/super-linter/releases/tag/v3.11.0

Signed-off-by: Torsten Walter <mail@torstenwalter.de>
  • Loading branch information
torstenwalter authored Oct 8, 2020
1 parent 7da9ee7 commit 81b31fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v2
- name: Lint Code Base
uses: github/super-linter@v3
uses: docker://github/super-linter:v3.12.0
env:
VALIDATE_ALL_CODEBASE: false
VALIDATE_BASH: false
VALIDATE_PYTHON: false
VALIDATE_PYTHON_FLAKE8: false
VALIDATE_PYTHON_BLACK: false
VALIDATE_KUBERNETES_KUBEVAL: false
VALIDATE_YAML: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 81b31fe

Please sign in to comment.