From 9ae743f1638a5e225be70c7f4c5dbf88511b9910 Mon Sep 17 00:00:00 2001 From: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> Date: Sun, 7 Jul 2024 13:57:15 +0530 Subject: [PATCH] Add guidlines to how to format bash files according to shellcheck formatter Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> --- .github/workflows/bash_formatter.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/bash_formatter.yaml b/.github/workflows/bash_formatter.yaml index 96bc1a42f9..fd1d254bf6 100644 --- a/.github/workflows/bash_formatter.yaml +++ b/.github/workflows/bash_formatter.yaml @@ -13,6 +13,15 @@ jobs: - name: Install ShellCheck run: sudo apt install -y shellcheck + - name: Bash Formatting Guidelines + run: | + echo "### Bash Files Formatting Guidelines ### + If there are errors and warnings regarding your bash files, + You can check that error code definitions in https://www.shellcheck.net/wiki/ site. + You can correct them using the https://www.shellcheck.net/ site. + You have to ignore disable errors in .shellcheckrc file. + " + - name: Fetch master branch run: git fetch origin master