From e999f98b3473ce77be9ff6602421e18a7998724c Mon Sep 17 00:00:00 2001 From: Chris Green Date: Thu, 5 Oct 2023 09:52:09 -0700 Subject: [PATCH] Closes #28 Add shellcheck github action. (#29) Co-authored-by: camikazegreen --- .github/workflows/pull-request.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/pull-request.yml diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml new file mode 100644 index 0000000..6b039a4 --- /dev/null +++ b/.github/workflows/pull-request.yml @@ -0,0 +1,13 @@ +name: Pull request checks +on: pull_request + +jobs: + lint-bash: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Run ShellCheck + uses: azohra/shell-linter@v0.6.0 + with: + exclude-paths: Dockerfile, .github/CODEOWNERS, .github/ISSUE_TEMPLATE