Skip to content

Commit

Permalink
make the workflow work on non release branches
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharpandey13 committed Oct 31, 2024
1 parent 436ef01 commit b9bd8fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/rl-secure.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: RL-Secure Workflow

on:
push:
branches:
- test/RL
workflow_call:
inputs:
node-version: ## depends if build requires node else we can remove this.
Expand All @@ -26,7 +29,6 @@ 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/'))
runs-on: ubuntu-latest
outputs:
scan-status: ${{ steps.rl-scan-conclusion.outcome }}
Expand Down

0 comments on commit b9bd8fa

Please sign in to comment.