This is an automated email from the ASF dual-hosted git repository.

squakez pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/main by this push:
     new 656e4e672 ci: Replace non maintained gh-go-mod-generate-sbom action by 
custom install
656e4e672 is described below

commit 656e4e672cf8b6ec3a73888d615283f221c178c9
Author: Gaelle Fournier <[email protected]>
AuthorDate: Fri Aug 14 16:09:00 2026 +0200

    ci: Replace non maintained gh-go-mod-generate-sbom action by custom install
---
 .github/actions/gh-go-mod-generate-sbom    |  1 -
 .github/actions/release-nightly/action.yml | 10 ++++++----
 .gitmodules                                |  3 ---
 3 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/.github/actions/gh-go-mod-generate-sbom 
b/.github/actions/gh-go-mod-generate-sbom
deleted file mode 160000
index d4aee0cf5..000000000
--- a/.github/actions/gh-go-mod-generate-sbom
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit d4aee0cf5133055dbd98899978246c10c18c440f
diff --git a/.github/actions/release-nightly/action.yml 
b/.github/actions/release-nightly/action.yml
index 1c86b5a79..92c159eec 100644
--- a/.github/actions/release-nightly/action.yml
+++ b/.github/actions/release-nightly/action.yml
@@ -110,11 +110,13 @@ runs:
       run: |
         NOTEST=1 make VERSION=${{ env.VERSION }} IMAGE_NAME=${{ env.IMAGE_NAME 
}} BUNDLE_IMAGE_NAME=docker.io/testcamelk/camel-k-bundle bundle-push
 
+    - name: Install SBOM generator
+      shell: bash
+      run: go install 
github.com/CycloneDX/cyclonedx-gomod/cmd/cyclonedx-gomod@latest
+
     - name: Generate SBOM
-      uses: ./.github/actions/gh-go-mod-generate-sbom
-      with:
-        version: v1
-        args: mod -licenses -json -output sbom.json
+      shell: bash
+      run: cyclonedx-gomod mod -licenses -json -output sbom.json
 
     - name: Commit and push nightly branch
       shell: bash
diff --git a/.gitmodules b/.gitmodules
index 342b803c9..e69de29bb 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +0,0 @@
-[submodule ".github/actions/gh-go-mod-generate-sbom"]
-       path = .github/actions/gh-go-mod-generate-sbom
-       url = https://github.com/CycloneDX/gh-gomod-generate-sbom/

Reply via email to