From 3c32595b23026f5c3046384fb2751d958d07160a Mon Sep 17 00:00:00 2001 From: Amin Vakil Date: Mon, 10 Jan 2022 17:31:50 +0330 Subject: [PATCH] Add github actions shellcheck --- .github/workflows/shellcheck.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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..6af9401 --- /dev/null +++ b/.github/workflows/shellcheck.yml @@ -0,0 +1,22 @@ +--- +name: shellcheck +'on': + push: + pull_request: + schedule: + - cron: '0 1 * * *' + +jobs: + + shellcheck: + name: shellcheck + runs-on: ubuntu-latest + + steps: + - name: Check out the codebase. + uses: actions/checkout@v2 + + - name: Shellcheck! + run: | + shellcheck migrate2rocky/migrate2rocky.sh + shellcheck mirror/mirrorsync.sh