diff --git a/wait-for-ecr-scan-and-get-sarif/action.yml b/wait-for-ecr-scan-and-get-sarif/action.yml index 3794239..e62e2bb 100644 --- a/wait-for-ecr-scan-and-get-sarif/action.yml +++ b/wait-for-ecr-scan-and-get-sarif/action.yml @@ -17,10 +17,6 @@ inputs: required: true default: "report.sarif" -outputs: - sarif_report: - description: "The SARIF report generated by the scan." - # runs: # using: "docker" # image: "python:3.12" @@ -40,10 +36,12 @@ runs: python-version: 3.12 - name: Install dependencies + shell: bash run: | pip install -r /wait-for-ecr-scan-and-get-sarif/requirements.txt - name: Run the Python script to wait for ECR scan and get SARIF + shell: bash run: | python /wait-for-ecr-scan-and-get-sarif/main.py \ --repository_name ${{ inputs.repository_name }} \ @@ -51,7 +49,3 @@ runs: --aws_region ${{ inputs.aws_region }} \ --output_file ${{ inputs.output_file }} id: run_script - - - name: Set the output - run: | - echo "::set-output name=sarif_report::$(cat ${{ inputs.output_file }})"