From c4e4b2cf3229baffbd33457506ce4c5ee875156d Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Fri, 8 Apr 2022 19:37:59 +0200 Subject: [PATCH] add shellcheck action --- .github/workflows/shellcheck.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/shellcheck.yml diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml new file mode 100644 index 000000000..ccfe6f1b1 --- /dev/null +++ b/.github/workflows/shellcheck.yml @@ -0,0 +1,23 @@ +name: shellcheck + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + shellcheck: + name: shellcheck + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Run shellcheck + uses: ludeeus/action-shellcheck@master + env: + SHELLCHECK_OPTS: -s bash -e SC2034 -e SC2016 -e SC2191 -e SC2037 + with: + additional_files: '*.ebuild'