Skip to content

Commit

Permalink
Added RL to run on release only
Browse files Browse the repository at this point in the history
  • Loading branch information
developerkunal committed Oct 18, 2024
1 parent c386024 commit 24de18c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/rl-secure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ on:

jobs:
rl-scanner:
if: github.event_name == 'workflow_dispatch' ||
(github.event_name == 'pull_request' && startsWith(github.event.pull_request.head.ref, 'release/'))
runs-on: ubuntu-latest

permissions:
Expand Down Expand Up @@ -69,4 +71,3 @@ jobs:
--repository "${{ github.repository }}" \
--commit "${{ github.sha }}" \
--build-env "github_action"
continue-on-error: true

0 comments on commit 24de18c

Please sign in to comment.