From 68256e9a217a0775a8f484903543097274a2d0da Mon Sep 17 00:00:00 2001 From: Mohammed Gaus <93215648+gaus07@users.noreply.github.com> Date: Mon, 28 Aug 2023 02:13:20 +0530 Subject: [PATCH 1/6] Create main.yml --- .github/workflows/main.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..857be446 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,15 @@ +name: ShellCheck + +on: + pull_request: + branches: ["main"] + +jobs: + shellcheck: + name: ShellCheck + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Run ShellCheck + uses: ludeeus/action-shellcheck@master + From 48128c79436e1ae437406ec70d7532d1300952dc Mon Sep 17 00:00:00 2001 From: Mohammed Gaus <93215648+gaus07@users.noreply.github.com> Date: Mon, 28 Aug 2023 02:16:14 +0530 Subject: [PATCH 2/6] Update and rename main.yml to shell-check.yml --- .github/workflows/{main.yml => shell-check.yml} | 2 ++ 1 file changed, 2 insertions(+) rename .github/workflows/{main.yml => shell-check.yml} (89%) diff --git a/.github/workflows/main.yml b/.github/workflows/shell-check.yml similarity index 89% rename from .github/workflows/main.yml rename to .github/workflows/shell-check.yml index 857be446..37f57182 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/shell-check.yml @@ -3,6 +3,8 @@ name: ShellCheck on: pull_request: branches: ["main"] + push: + branches: ["main"] jobs: shellcheck: From 6a9154062c9bacbc5c8d6e5e70e68fe001381716 Mon Sep 17 00:00:00 2001 From: Mohammed Gaus <93215648+gaus07@users.noreply.github.com> Date: Mon, 28 Aug 2023 02:19:53 +0530 Subject: [PATCH 3/6] Update generate-main-readme.sh --- tools/generate-main-readme.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/generate-main-readme.sh b/tools/generate-main-readme.sh index da288fab..0e58b181 100644 --- a/tools/generate-main-readme.sh +++ b/tools/generate-main-readme.sh @@ -1,3 +1,4 @@ +#!/bin/bash pwd # Todo: Auto update content of main README.md file -echo "hehe, to be implemented" \ No newline at end of file +echo "hehe, to be implemented" From dfff734e3c580d5cdab3edab578a7e0e3469c10e Mon Sep 17 00:00:00 2001 From: Mohammed Gaus <93215648+gaus07@users.noreply.github.com> Date: Mon, 28 Aug 2023 02:21:53 +0530 Subject: [PATCH 4/6] Update ansible-practice.sh --- topics/ansible/with-docker/ansible-practice.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/topics/ansible/with-docker/ansible-practice.sh b/topics/ansible/with-docker/ansible-practice.sh index dedf75f2..30cf3a86 100644 --- a/topics/ansible/with-docker/ansible-practice.sh +++ b/topics/ansible/with-docker/ansible-practice.sh @@ -1,3 +1,4 @@ +#!/bin/bash echo ">>> Building ansible runner..." docker build -t ansible-runner -f AnsibleEnv.dockerfile . echo ">>> Execute ansible playbook (ping google)..." From f3e51e61c50195c71f080a66da3afbdffe74ea08 Mon Sep 17 00:00:00 2001 From: Mohammed Gaus <93215648+gaus07@users.noreply.github.com> Date: Mon, 28 Aug 2023 02:24:12 +0530 Subject: [PATCH 5/6] Update k8s-helloworld-cleanup.sh --- topics/k8s/k8s-helloworld-cleanup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/topics/k8s/k8s-helloworld-cleanup.sh b/topics/k8s/k8s-helloworld-cleanup.sh index 4a0ac34e..1dba27c4 100644 --- a/topics/k8s/k8s-helloworld-cleanup.sh +++ b/topics/k8s/k8s-helloworld-cleanup.sh @@ -1,3 +1,4 @@ +#!/bin/bash console_log() { echo ">>> [Kubernetes] $1" } From 82e95379e6a2f0cac1b514cef01e2ee728cf951c Mon Sep 17 00:00:00 2001 From: Mohammed Gaus <93215648+gaus07@users.noreply.github.com> Date: Mon, 28 Aug 2023 02:34:55 +0530 Subject: [PATCH 6/6] Update shell-check.yml --- .github/workflows/shell-check.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/shell-check.yml b/.github/workflows/shell-check.yml index 37f57182..857be446 100644 --- a/.github/workflows/shell-check.yml +++ b/.github/workflows/shell-check.yml @@ -3,8 +3,6 @@ name: ShellCheck on: pull_request: branches: ["main"] - push: - branches: ["main"] jobs: shellcheck: