new attempt without outputs w/ burnettk
This commit is contained in:
parent
fe94c24b5a
commit
52e8924b3b
|
@ -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 }})"
|
||||
|
|
Loading…
Reference in New Issue