diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5cfa2aa..9218027 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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 }} @@ -40,5 +42,3 @@ jobs: signing-key: ${{ secrets.SIGNING_KEY }} signing-password: ${{ secrets.SIGNING_PASSWORD }} github-token: ${{ secrets.GITHUB_TOKEN }} - - diff --git a/.github/workflows/rl-secure.yml b/.github/workflows/rl-secure.yml index ef32959..4dfb048 100644 --- a/.github/workflows/rl-secure.yml +++ b/.github/workflows/rl-secure.yml @@ -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 }} @@ -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 \ No newline at end of file + run: echo "scan-status=${{ steps.rl-scan-conclusion.outcome }}" >> $GITHUB_ENV