From 8f227998261b1eff0a452252363e623581389da1 Mon Sep 17 00:00:00 2001 From: Erwann Roussy <117641860+eroussy@users.noreply.github.com> Date: Wed, 25 Jan 2023 14:45:55 +0100 Subject: [PATCH 1/2] Create shellcheck.yml --- .github/workflows/shellcheck.yml | 16 ++++++++++++++++ 1 file changed, 16 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..bf68c3e --- /dev/null +++ b/.github/workflows/shellcheck.yml @@ -0,0 +1,16 @@ +on: + push: + branches: + - master + +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 8d6ffa5edfe9d95807a391e2c40a4aaa1e8b7871 Mon Sep 17 00:00:00 2001 From: Erwann Roussy <117641860+eroussy@users.noreply.github.com> Date: Wed, 25 Jan 2023 14:46:36 +0100 Subject: [PATCH 2/2] update --- .github/workflows/shellcheck.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml index bf68c3e..e57df93 100644 --- a/.github/workflows/shellcheck.yml +++ b/.github/workflows/shellcheck.yml @@ -1,7 +1,5 @@ -on: - push: - branches: - - master + +on: [push, pull_request] name: "Trigger: Push action" permissions: {}