Skip to content

Commit d759382

Browse files
author
tanya-sinha_atko
committed
adding rl-scanner changes
1 parent 521bbcd commit d759382

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/build-and-test.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@ on:
77
branches: ["master", "main"]
88

99
jobs:
10+
rl-scanner:
11+
uses: ./.github/workflows/rl-secure.yml
12+
with:
13+
java-version: 8
14+
artifact-name: 'jwks-rsa-${{ steps.get_version.outputs.version }}.jar"'
15+
secrets:
16+
RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }}
17+
RLSECURE_SITE_KEY: ${{ secrets.RLSECURE_SITE_KEY }}
18+
SIGNAL_HANDLER_TOKEN: ${{ secrets.SIGNAL_HANDLER_TOKEN }}
19+
PRODSEC_TOOLS_USER: ${{ secrets.PRODSEC_TOOLS_USER }}
20+
PRODSEC_TOOLS_TOKEN: ${{ secrets.PRODSEC_TOOLS_TOKEN }}
21+
PRODSEC_TOOLS_ARN: ${{ secrets.PRODSEC_TOOLS_ARN }}
22+
1023
gradle:
1124
runs-on: ubuntu-latest
1225
steps:

.github/workflows/rl-scanner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414
jobs:
1515
checkout-build-scan-only:
16-
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request')
16+
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/'))
1717
runs-on: ubuntu-latest
1818

1919
environment: security

0 commit comments

Comments
 (0)