Skip to content

Commit

Permalink
Merge branch 'main' of github.com:sartography/github-actions-library
Browse files Browse the repository at this point in the history
  • Loading branch information
jasquat committed Aug 16, 2024
2 parents cc8cfeb + 3285d7d commit 02d68df
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down
10 changes: 2 additions & 8 deletions wait-for-ecr-scan-and-get-sarif/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,28 +40,22 @@ on:
push:
branches:
- main
workflow_dispatch:
jobs:
ecr-scan:
runs-on: ubuntu-latest
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"
image_tag: "main"
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:
Expand Down

0 comments on commit 02d68df

Please sign in to comment.