From 559d7a83f80dcc103b8f9b14a3b099e1bf65f97b Mon Sep 17 00:00:00 2001 From: Howard Wu <40033067+Howard20181@users.noreply.github.com> Date: Sun, 13 Nov 2022 14:29:15 +0800 Subject: [PATCH] Create shellcheck.yml --- .github/workflows/shellcheck.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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 0000000..fd524bf --- /dev/null +++ b/.github/workflows/shellcheck.yml @@ -0,0 +1,21 @@ +on: + push: + branches: + - main + workflow_dispatch: + pull_request: + +permissions: {} + +jobs: + shellcheck: + runs-on: ubuntu-latest + steps: + - name : Checkout + uses: actions/checkout@v3 + + - name: Run ShellCheck + id: check + uses: ludeeus/action-shellcheck@master + with: + scandir: './scripts'