new attempt without outputs w/ burnettk

This commit is contained in:
jasquat 2024-08-14 16:44:51 -04:00
parent fe94c24b5a
commit 52e8924b3b
No known key found for this signature in database
1 changed files with 2 additions and 8 deletions

View File

@ -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 }})"