Merge branch 'main' of github.com:sartography/github-actions-library

This commit is contained in:
jasquat 2024-08-16 14:41:26 -04:00
commit 02d68df14c
No known key found for this signature in database
3 changed files with 5 additions and 11 deletions

View File

@ -12,7 +12,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
# - name: Run ECR Scan and Get SARIF Report
# uses: sartography/github-actions-library/wait-for-ecr-scan-and-get-sarif@main
@ -40,7 +40,7 @@ jobs:
--output_file report.sarif
- name: Upload SARIF report as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sarif-report
path: report.sarif

View File

@ -14,7 +14,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5.1.1

View File

@ -40,7 +40,7 @@ on:
push:
branches:
- main
workflow_dispatch:
jobs:
ecr-scan:
runs-on: ubuntu-latest
@ -48,7 +48,7 @@ jobs:
steps:
# [Probably build and push image to ECR here]
- name: Run ECR Scan and Get SARIF Report
- name: Wait for ECR Scan and Get SARIF Report
uses: sartography/github-actions-library/wait-for-ecr-scan-and-get-sarif@main
with:
repository_name: "infr/testcloud2202"
@ -56,12 +56,6 @@ jobs:
aws_region: "us-east-2"
output_file: "report.sarif"
- name: Upload SARIF report as artifact
uses: actions/upload-artifact@v3
with:
name: sarif-report
path: report.sarif
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with: