From 3b024693b7ee296b6a7d967adaa876373f843958 Mon Sep 17 00:00:00 2001 From: Utkarsh Mehta Date: Wed, 17 Apr 2024 03:02:59 +0530 Subject: [PATCH] chore: Update artifact upload retention to 1 (#2588) --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8f87451ad..f81102179 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -261,6 +261,7 @@ jobs: with: format: spdx artifact-name: npm_sbom.spdx + upload-artifact-retention: 1 - name: Publish report [SPDX] uses: anchore/sbom-action/publish-sbom@v0 with: @@ -270,6 +271,7 @@ jobs: with: format: cyclonedx artifact-name: npm_sbom.cyclonedx + upload-artifact-retention: 1 - name: Publish report [CycloneDx] uses: anchore/sbom-action/publish-sbom@v0 with: @@ -299,6 +301,7 @@ jobs: with: format: spdx artifact-name: sbom.spdx + upload-artifact-retention: 1 - name: Publish report [SPDX] uses: anchore/sbom-action/publish-sbom@v0 with: @@ -308,6 +311,7 @@ jobs: with: format: cyclonedx artifact-name: sbom.cyclonedx + upload-artifact-retention: 1 - name: Publish report [CycloneDx] uses: anchore/sbom-action/publish-sbom@v0 with: @@ -333,6 +337,7 @@ jobs: image: ${{ needs.ci.outputs.IMAGE_PATH }}:${{ needs.ci.outputs.PUBLISH_TAG }} format: spdx artifact-name: docker_sbom.spdx + upload-artifact-retention: 1 - name: Publish report [Docker][SPDX] if: github.ref == 'refs/heads/release' uses: anchore/sbom-action/publish-sbom@v0 @@ -345,6 +350,7 @@ jobs: image: ${{ needs.ci.outputs.IMAGE_PATH }}:${{ needs.ci.outputs.PUBLISH_TAG }} format: cyclonedx artifact-name: docker_sbom.cyclonedx + upload-artifact-retention: 1 - name: Publish report [Docker][CycloneDx] if: github.ref == 'refs/heads/release' uses: anchore/sbom-action/publish-sbom@v0