From 40d7e5b7c645c7903d5d7bbd1534d32c2fdb8cac Mon Sep 17 00:00:00 2001 From: Surendra Pathak Date: Thu, 26 Oct 2023 10:30:34 -0700 Subject: [PATCH] SBOM push moves to tool release SBOM is built at release instead of merge to main --- .github/workflows/sbom.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/sbom.yml b/.github/workflows/sbom.yml index 971869c..85f490e 100644 --- a/.github/workflows/sbom.yml +++ b/.github/workflows/sbom.yml @@ -1,12 +1,9 @@ name: Build and Push SBOM to Interlynk on: - push: - branches: - - main # Adjust to your main branch name - pull_request: - branches: - - main # Adjust to your main branch name + release: + types: + - created jobs: build-sbom: