From 7038c42bff4d5765c7e7c3aaecbace55c4cd452b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Mathiasen?= Date: Wed, 8 Sep 2021 22:18:59 +0200 Subject: [PATCH] feat: adding slim action (#1946) --- README.md | 2 +- slim/action.yml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 slim/action.yml diff --git a/README.md b/README.md index b1152ffa..4fa58d16 100644 --- a/README.md +++ b/README.md @@ -247,7 +247,7 @@ Example usage: # Run Linter against code base # ################################ - name: Lint Code Base - uses: docker://ghcr.io/github/super-linter:slim-v4 + uses: github/super-linter/slim@v4 env: VALIDATE_ALL_CODEBASE: false DEFAULT_BRANCH: master diff --git a/slim/action.yml b/slim/action.yml new file mode 100644 index 00000000..739e93bc --- /dev/null +++ b/slim/action.yml @@ -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