Skip to content

Commit d71f75b

Browse files
committed
chore: Migrate RL Scanner to useable actions
1 parent bf6648e commit d71f75b

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: Create GitHub Release
22

33
on:
4-
push:
5-
branches:
6-
- chore/migrate-rl-scanner-to-useable-action # TEMPORARY: remove after RL scanner debugging
74
pull_request:
85
types:
96
- closed
@@ -33,7 +30,6 @@ jobs:
3330
PRODSEC_TOOLS_ARN: ${{ secrets.PRODSEC_TOOLS_ARN }}
3431
PRODSEC_PYTHON_TOOLS_REPO: ${{ secrets.PRODSEC_PYTHON_TOOLS_REPO }}
3532
release:
36-
if: false # TEMPORARY: disabled during RL scanner debugging — re-enable after
3733
uses: ./.github/workflows/java-release.yml
3834
needs: rl-scanner
3935
with:

.github/workflows/rl-scanner.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ on:
2828
required: true
2929
jobs:
3030
checkout-build-scan-only:
31-
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/')) # TEMPORARY: 'push' added for RL scanner debugging
32-
31+
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/'))
3332
runs-on: ubuntu-latest
3433
outputs:
3534
scan-status: ${{ steps.rl-scan-conclusion.outputs.scan-status }}

0 commit comments

Comments
 (0)