From d0b754cbe0089f9b0c9934478c82cd94678be64b Mon Sep 17 00:00:00 2001 From: Josh Adams Date: Tue, 28 Nov 2023 20:40:15 -0600 Subject: [PATCH 1/2] Add shellcheck action --- .github/workflows/shellcheck.yml | 17 +++++++++++++++++ 1 file changed, 17 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..1442eb6 --- /dev/null +++ b/.github/workflows/shellcheck.yml @@ -0,0 +1,17 @@ +on: + push: + branches: + - main + - ci + +name: "Trigger: Push action" +permissions: {} + +jobs: + shellcheck: + name: Shellcheck + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Run ShellCheck + uses: ludeeus/action-shellcheck@master From 8e3ba954f6481ddd40db42857ae5dcb4bdd4f07c Mon Sep 17 00:00:00 2001 From: Josh Adams Date: Tue, 28 Nov 2023 20:48:19 -0600 Subject: [PATCH 2/2] Remove ci branch from workflow --- .github/workflows/shellcheck.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml index 1442eb6..db2338a 100644 --- a/.github/workflows/shellcheck.yml +++ b/.github/workflows/shellcheck.yml @@ -2,7 +2,6 @@ on: push: branches: - main - - ci name: "Trigger: Push action" permissions: {}