Skip to content

Commit

Permalink
Validating workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
developerkunal committed Oct 31, 2024
1 parent 20e9e95 commit 8bfde82
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ on:
types:
- closed
workflow_dispatch:

push:
branches:
- add-reversing-lab-scanner
permissions:
contents: write
id-token: write # This is required for requesting the JWT
Expand All @@ -19,7 +21,7 @@ jobs:
uses: ./.github/workflows/rl-secure.yml
with:
java-version: 8
artifact-name: 'mvc-auth-commons.jar'
artifact-name: "mvc-auth-commons.jar"
secrets:
RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }}
RLSECURE_SITE_KEY: ${{ secrets.RLSECURE_SITE_KEY }}
Expand All @@ -40,5 +42,3 @@ jobs:
signing-key: ${{ secrets.SIGNING_KEY }}
signing-password: ${{ secrets.SIGNING_PASSWORD }}
github-token: ${{ secrets.GITHUB_TOKEN }}


3 changes: 1 addition & 2 deletions .github/workflows/rl-secure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ 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 }}
Expand Down Expand Up @@ -70,4 +69,4 @@ jobs:
PRODSEC_TOOLS_ARN: ${{ secrets.PRODSEC_TOOLS_ARN }}

- name: Output scan result
run: echo "scan-status=${{ steps.rl-scan-conclusion.outcome }}" >> $GITHUB_ENV
run: echo "scan-status=${{ steps.rl-scan-conclusion.outcome }}" >> $GITHUB_ENV

0 comments on commit 8bfde82

Please sign in to comment.