From 111ab9ebeb4adbded35a6be84bc061f225750da2 Mon Sep 17 00:00:00 2001 From: xyny Date: Sun, 19 May 2024 17:47:30 +0300 Subject: [PATCH] feat: add shellcheck github action #225 --- .github/workflows/reviewdog.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/reviewdog.yml diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml new file mode 100644 index 0000000..5701207 --- /dev/null +++ b/.github/workflows/reviewdog.yml @@ -0,0 +1,22 @@ +name: reviewdog +on: + push: + pull_request: + workflow_dispatch: + +jobs: + shellcheck: + name: runner / shellcheck + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: shellcheck + uses: reviewdog/action-shellcheck@v1 + with: + github_token: ${{ github.token }} + reporter: github-pr-review + - name: shellcheck + uses: reviewdog/action-shellcheck@v1 + with: + github_token: ${{ github.token }} + reporter: github-check \ No newline at end of file