From 6d187aee2096f3bc2952c1a06370ce9be863aa08 Mon Sep 17 00:00:00 2001 From: Carlos Grillet Date: Fri, 11 Aug 2023 10:46:51 -0400 Subject: [PATCH] GH actions added and super-linter badge added to readme --- .github/workflows/linter.yml | 22 ++++++++++++++++++++++ README.md | 1 + 2 files changed, 23 insertions(+) create mode 100644 .github/workflows/linter.yml diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml new file mode 100644 index 0000000..0e388ea --- /dev/null +++ b/.github/workflows/linter.yml @@ -0,0 +1,22 @@ +--- + name: Lint Code Base + + on: + push: + branches: [main] + pull_request: + branches: [main] + + jobs: + lint-code-base: + name: Lint Code Base + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v3 + + - name: Lint Code Base + uses: super-linter/super-linter@v5 + env: + DEFAULT_BRANCH: main + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/README.md b/README.md index d50c07b..a38b7e8 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![Code linting](https://github.com/carlosgrillet/blformater/actions/workflows/linter.yml/badge.svg)](https://github.com/marketplace/actions/super-linter) # blformater blformater es una herramienta para convertir listas de dominios, en listas de acceso para un router mikrotik, entre sus caracteristicas principales tenemos que nos permite: