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: