From f8aace81b15264e138bf064bdd62162312f6281e Mon Sep 17 00:00:00 2001
From: mgandharva <mukesh.gandharva@dell.com>
Date: Wed, 29 Jan 2025 07:28:34 -0500
Subject: [PATCH 1/2] feat: added act for local pr check

---
 Makefile | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/Makefile b/Makefile
index e22cfeac..292eb08c 100644
--- a/Makefile
+++ b/Makefile
@@ -59,17 +59,19 @@ integration-test:
 check:
 	@scripts/check.sh ./provider/ ./service/
 
-.PHONY: actions
-actions: ## Run all the github action checks that run on a pull_request creation
-	act -l | grep -v ^Stage | grep pull_request | grep -v image_security_scan | awk '{print $$2}' | while read WF; do act pull_request --no-cache-server --platform ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest --job "$${WF}"; done
+.PHONY: actions action-help
+actions: ## Run all GitHub Action checks that run on a pull request creation
+    @echo "Running all GitHub Action checks for pull request events..."
+    @act -l | grep -v ^Stage | grep pull_request | grep -v image_security_scan | awk '{print $$2}' | while read WF; do \
+        echo "Running workflow: $${WF}"; \
+        act pull_request --no-cache-server --platform ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest --job "$${WF}"; \
+    done
 
-.PHONY: action-help
 action-help: ## Echo instructions to run one specific workflow locally
 	@echo "GitHub Workflows can be run locally with the following command:"
 	@echo "act pull_request --no-cache-server --platform ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest --job <jobid>"
-	@echo
+	@echo ""
 	@echo "Where '<jobid>' is a Job ID returned by the command:"
 	@echo "act -l"
-	@echo
-	@echo "NOTE: if act if not installed, it can be from https://github.com/nektos/act"
-
+	@echo ""
+	@echo "NOTE: if act is not installed, it can be downloaded from https://github.com/nektos/act"

From 3a3168be988e28a668b85d8ac3a410a4043e4d61 Mon Sep 17 00:00:00 2001
From: mgandharva <mukesh.gandharva@dell.com>
Date: Thu, 30 Jan 2025 05:50:24 -0500
Subject: [PATCH 2/2] fix: updated the spacing

---
 Makefile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index 292eb08c..4db719c8 100644
--- a/Makefile
+++ b/Makefile
@@ -61,11 +61,11 @@ check:
 
 .PHONY: actions action-help
 actions: ## Run all GitHub Action checks that run on a pull request creation
-    @echo "Running all GitHub Action checks for pull request events..."
-    @act -l | grep -v ^Stage | grep pull_request | grep -v image_security_scan | awk '{print $$2}' | while read WF; do \
-        echo "Running workflow: $${WF}"; \
-        act pull_request --no-cache-server --platform ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest --job "$${WF}"; \
-    done
+	@echo "Running all GitHub Action checks for pull request events..."
+	@act -l | grep -v ^Stage | grep pull_request | grep -v image_security_scan | awk '{print $$2}' | while read WF; do \
+		echo "Running workflow: $${WF}"; \
+		act pull_request --no-cache-server --platform ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest --job "$${WF}"; \
+	done
 
 action-help: ## Echo instructions to run one specific workflow locally
 	@echo "GitHub Workflows can be run locally with the following command:"