feat: adding slim action (#1946)

This commit is contained in:
Søren Mathiasen 2021-09-08 22:18:59 +02:00 committed by GitHub
parent 0d9c177118
commit 7038c42bff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 1 deletions

View file

@ -247,7 +247,7 @@ Example usage:
# Run Linter against code base # # Run Linter against code base #
################################ ################################
- name: Lint Code Base - name: Lint Code Base
uses: docker://ghcr.io/github/super-linter:slim-v4 uses: github/super-linter/slim@v4
env: env:
VALIDATE_ALL_CODEBASE: false VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: master DEFAULT_BRANCH: master

12
slim/action.yml Normal file
View file

@ -0,0 +1,12 @@
---
name: 'Super-Linter slim'
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:slim-v4'
branding:
icon: 'check-square'
color: 'white'
# You can view https://github.com/github/super-linter#environment-variables
# to see a comprehensive list of all environment variables that can be passed