From f5a779093320b502f9e83c1c1b4ed11a4557bb8d Mon Sep 17 00:00:00 2001 From: Sonu Kumar Singh Date: Tue, 19 Dec 2023 01:07:34 +0530 Subject: [PATCH] Fix SBOM workflow --- .github/workflows/sbom.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sbom.yml b/.github/workflows/sbom.yml index c14b31a4608e..8f1c0fd70c2c 100644 --- a/.github/workflows/sbom.yml +++ b/.github/workflows/sbom.yml @@ -4,7 +4,7 @@ on: release: types: [published] permissions: - contents: read + contents: write jobs: generate_sbom_action: runs-on: ubuntu-latest @@ -13,7 +13,7 @@ jobs: - name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: Install bom - uses: kubernetes-sigs/release-actions/setup-bom@main + uses: kubernetes-sigs/release-actions/setup-bom@ef6d340ddd115f41dc26c18893b41d9c79cdc7d2 # main - name: Generage SBOM run: | bom generate -o minikube_${{github.ref_name}}_sbom.spdx \