From 70313dc2579bcd7d1cc296f128495c40f6106ecd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=9Cswati31196=E2=80=9D?=
 <swatichoudhary15b58@gmail.com>
Date: Fri, 10 Nov 2023 23:09:12 +0530
Subject: [PATCH] Akto Integration

---
 .github/workflows/akto_ci_run.yaml | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 .github/workflows/akto_ci_run.yaml

diff --git a/.github/workflows/akto_ci_run.yaml b/.github/workflows/akto_ci_run.yaml
new file mode 100644
index 00000000..5b42f3ee
--- /dev/null
+++ b/.github/workflows/akto_ci_run.yaml
@@ -0,0 +1,22 @@
+name: Akto
+on:
+  pull_request: {}
+  push:
+    branches: ["master"]
+  schedule:
+    - cron: "0 17 * * 0"
+
+jobs:
+  akto-ci-run:
+    if: always()
+#    if: github.ref == 'refs/heads/master'
+    runs-on: [ self-hosted ]
+    steps:
+      - name: Akto CI Integration
+        uses: razorpay/security-action/akto@master
+        with:
+          check_name: 'Api Build'
+          git_token: ${{ secrets.GIT_TOKEN }}
+          argo_token: ${{ secrets.ARGO_TOKEN }}
+          harbor_docker_username: ${{ secrets.HARBOR_DOCKER_USERNAME }}
+          harbor_docker_password: ${{ secrets.HARBOR_DOCKER_PASSWORD }}
\ No newline at end of file