From 2383604985c02aee5a1bdd9a358a337235d23c3e Mon Sep 17 00:00:00 2001 From: Kunal Dawar Date: Tue, 22 Oct 2024 13:50:32 +0530 Subject: [PATCH] Fix pipeline --- .github/workflows/rl-scanner.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/rl-scanner.yml b/.github/workflows/rl-scanner.yml index 06fd47f9..f58163d4 100644 --- a/.github/workflows/rl-scanner.yml +++ b/.github/workflows/rl-scanner.yml @@ -13,6 +13,8 @@ on: jobs: checkout-build-scan-only: + if: github.event_name == 'workflow_dispatch' || + (github.event_name == 'pull_request' && startsWith(github.event.pull_request.head.ref, 'release/')) runs-on: ubuntu-latest permissions: