From 866370bef3d17529d25b93949cb6d8b33bcc0e91 Mon Sep 17 00:00:00 2001
From: Kunal Dawar <kunal.dawar@okta.com>
Date: Thu, 31 Oct 2024 13:49:05 +0530
Subject: [PATCH] Validation done removing testing code

---
 .github/workflows/release.yml   | 3 ---
 .github/workflows/rl-secure.yml | 2 +-
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index a955a3cdb..64a9ad96c 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -5,9 +5,6 @@ on:
     types:
       - closed
   workflow_dispatch:
-  push:
-    branches:
-      - 'reversinglabs-implementation'
 
 permissions:
   contents: write
diff --git a/.github/workflows/rl-secure.yml b/.github/workflows/rl-secure.yml
index 171cfbe2f..88efff49c 100644
--- a/.github/workflows/rl-secure.yml
+++ b/.github/workflows/rl-secure.yml
@@ -26,7 +26,7 @@ on:
 jobs:
   rl-scanner:
     name: Run Reversing Labs Scanner
-    ### if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/'))
+    if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/'))
     runs-on: ubuntu-latest
     outputs:
       scan-status: ${{ steps.rl-scan-conclusion.outcome }}