From 1576c803b2c0a57931b908fc980f2c0bcb233f28 Mon Sep 17 00:00:00 2001 From: machupicchubeta Date: Mon, 6 May 2024 01:31:48 +0900 Subject: [PATCH] Run ShellCheck with reviewdog on Github Actions Refs. - https://github.com/reviewdog/action-shellcheck --- .github/workflows/shellcheck.yml | 15 +++++++++++++++ 1 file changed, 15 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..8638827 --- /dev/null +++ b/.github/workflows/shellcheck.yml @@ -0,0 +1,15 @@ +name: reviewdog +on: [pull_request] +jobs: + shellcheck: + name: runner / shellcheck + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: shellcheck + uses: reviewdog/action-shellcheck@v1 + with: + path: '.' + pattern: 'mac_with_*' + exclude: './.git/*' + check_all_files_with_shebangs: 'false'