From 1a7d255e28782ddb45f53941f586f8b383d827a4 Mon Sep 17 00:00:00 2001 From: Snehil Kishore Date: Tue, 29 Oct 2024 16:01:32 +0530 Subject: [PATCH] Reverting Testing Changes --- .github/workflows/publish.yml | 3 --- .github/workflows/rl-scanner.yml | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a0a5610..00b6fbe 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,9 +7,6 @@ on: description: The branch to release from. required: true default: master - push: - branches: - - 'adding-reversing-labs-scanner' permissions: diff --git a/.github/workflows/rl-scanner.yml b/.github/workflows/rl-scanner.yml index 6efcba4..627ae08 100644 --- a/.github/workflows/rl-scanner.yml +++ b/.github/workflows/rl-scanner.yml @@ -22,6 +22,7 @@ on: jobs: rl-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/')) runs-on: ubuntu-latest outputs: scan-status: ${{ steps.rl-scan-conclusion.outcome }}