From 8aca6be3599054438e4cae51dca1e238c0ad2656 Mon Sep 17 00:00:00 2001 From: Yvonne Zhang Date: Tue, 17 Sep 2024 12:53:53 -0700 Subject: [PATCH] Add release sbom to Github workflow (#3) --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f049d0b..fa82539 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,8 @@ on: branches: [master] pull_request: -permissions: read-all +permissions: + contents: write jobs: run_ci_tests: @@ -54,3 +55,7 @@ jobs: uses: circlefin/circle-public-github-workflows/.github/workflows/pr-scan.yaml@v1 with: allow-reciprocal-licenses: false + + release-sbom: + if: github.event_name == 'push' + uses: circlefin/circle-public-github-workflows/.github/workflows/attach-release-assets.yaml@v1