From 1bac3fa60b727058f7207d3499b81648f8bbd4b0 Mon Sep 17 00:00:00 2001 From: Chaitanya Rai <95732261+Chaitanyarai899@users.noreply.github.com> Date: Wed, 11 Dec 2024 23:34:37 +0530 Subject: [PATCH] fix: configure shellcheck only in cicd directory --- .github/workflows/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 7ef2db72..dc0e9a54 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -2,12 +2,11 @@ name: Shellcheck, Testing and GitHub Container Registry CI on: pull_request: types: [opened, synchronize, reopened] - push: # This will now trigger on all pushes to all branches + push: env: REGISTRY: ghcr.io IMAGE_NAME: consoleCICD - jobs: shellcheck: name: Shellcheck @@ -19,6 +18,7 @@ jobs: uses: ludeeus/action-shellcheck@master with: severity: error + scandir: './automatic-deployment-CICD-template' # Only scan your project directory bats: strategy: