diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 182ff48..df6aff4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml index d76823d..2284d26 100644 --- a/.github/workflows/unit_test.yml +++ b/.github/workflows/unit_test.yml @@ -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 diff --git a/wait-for-ecr-scan-and-get-sarif/README.md b/wait-for-ecr-scan-and-get-sarif/README.md index b4ecd17..e4d18f0 100644 --- a/wait-for-ecr-scan-and-get-sarif/README.md +++ b/wait-for-ecr-scan-and-get-sarif/README.md @@ -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: