From 949ae597158c1add6367b2bcbc74ca7033af379a Mon Sep 17 00:00:00 2001 From: Kunal Dawar Date: Fri, 25 Oct 2024 00:36:23 +0530 Subject: [PATCH] Updated Flow --- .github/actions/rl-scanner/action.yml | 10 ++-------- .github/workflows/rl-secure.yml | 2 -- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/actions/rl-scanner/action.yml b/.github/actions/rl-scanner/action.yml index 6c3ebe6a..750d3259 100644 --- a/.github/actions/rl-scanner/action.yml +++ b/.github/actions/rl-scanner/action.yml @@ -7,12 +7,6 @@ inputs: version: description: 'Version of the artifact.' required: true - repository: - description: 'GitHub repository name.' - required: true - commit: - description: 'Git commit SHA.' - required: true runs: using: 'composite' @@ -57,8 +51,8 @@ runs: --artifact "${{ inputs.artifact-path }}" \ --name "${{ github.event.repository.name }}" \ --version "${{ inputs.version }}" \ - --repository "${{ inputs.repository }}" \ - --commit "${{ inputs.commit }}" \ + --repository "${{ github.repository }}" \ + --commit "${{ github.sha }}" \ --build-env "github_actions" \ --suppress_output diff --git a/.github/workflows/rl-secure.yml b/.github/workflows/rl-secure.yml index c7953db1..b87a2016 100644 --- a/.github/workflows/rl-secure.yml +++ b/.github/workflows/rl-secure.yml @@ -54,8 +54,6 @@ jobs: with: artifact-path: "$(pwd)/${{ inputs.artifact-name }}" version: "${{ steps.get_version.outputs.version }}" - repository: "${{ github.repository }}" - commit: "${{ github.sha }}" env: RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }} RLSECURE_SITE_KEY: ${{ secrets.RLSECURE_SITE_KEY }}