From da9223fb3502733da0cf1c34e9ba936a951d0456 Mon Sep 17 00:00:00 2001 From: Kunal Dawar Date: Thu, 31 Oct 2024 12:43:41 +0530 Subject: [PATCH] Validation done removing testing code --- .github/workflows/release.yml | 4 +--- .github/workflows/rl-secure.yml | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fa7bcce..19c9222 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,9 +5,7 @@ on: types: - closed workflow_dispatch: - push: - branches: - - add-reversing-lab-scanner + permissions: contents: write id-token: write # This is required for requesting the JWT diff --git a/.github/workflows/rl-secure.yml b/.github/workflows/rl-secure.yml index 4dfb048..c1f0566 100644 --- a/.github/workflows/rl-secure.yml +++ b/.github/workflows/rl-secure.yml @@ -25,6 +25,7 @@ on: jobs: checkout-build-scan-only: + 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 }}