From 32b9fcbc489706b61ee4970da5e757ae23d535a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Thu, 14 Mar 2024 11:01:43 +0100 Subject: [PATCH] Rename .github workflow autoblack -> linters, add Shellcheck linter --- .github/workflows/{autoblack.yml => linters.yml} | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) rename .github/workflows/{autoblack.yml => linters.yml} (80%) diff --git a/.github/workflows/autoblack.yml b/.github/workflows/linters.yml similarity index 80% rename from .github/workflows/autoblack.yml rename to .github/workflows/linters.yml index 761222b..7d809bd 100644 --- a/.github/workflows/autoblack.yml +++ b/.github/workflows/linters.yml @@ -1,4 +1,4 @@ -name: Check / auto apply Black +name: Check / auto apply Black, Shellcheck on: push: branches: @@ -33,3 +33,13 @@ jobs: This pull request uses the [psf/black](https://github.com/psf/black) formatter. base: ${{ github.head_ref }} # Creates pull request onto pull request or commit branch branch: actions/black + + shellcheck: + name: Shellcheck + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Run ShellCheck + uses: ludeeus/action-shellcheck@master + with: + additional_files: 'ynh-dev'