From 8cb67d934fa665a29ac9249138cafd7cfeb2b141 Mon Sep 17 00:00:00 2001 From: richelbilderbeek Date: Thu, 31 Aug 2023 11:18:50 +0200 Subject: [PATCH] Check bash scripts --- .github/workflows/check_bash_style.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/check_bash_style.yaml diff --git a/.github/workflows/check_bash_style.yaml b/.github/workflows/check_bash_style.yaml new file mode 100644 index 00000000..5c3d7049 --- /dev/null +++ b/.github/workflows/check_bash_style.yaml @@ -0,0 +1,22 @@ +name: Check bash style + +on: + push: + pull_request: + schedule: + - cron: "0 0 16 * *" + + +jobs: + check_bash_style: + + runs-on: ubuntu-latest + env: + GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} + steps: + + - name: Set up Git repository + uses: actions/checkout@v2 + + - name: Check bash scripts for style + run: shellcheck *.sh scripts/*.sh