You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/05/31 12:11:07 UTC

[camel-k] branch release-1.12.x updated: Moved SBOM generation into Nightly updates

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

acosentino pushed a commit to branch release-1.12.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/release-1.12.x by this push:
     new 99fa625c9 Moved SBOM generation into Nightly updates
99fa625c9 is described below

commit 99fa625c92ae1d98529be0f74de7418a169f79b3
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 31 14:10:28 2023 +0200

    Moved SBOM generation into Nightly updates
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .github/actions/automatic-updates/action.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/actions/automatic-updates/action.yml b/.github/actions/automatic-updates/action.yml
index befd723ac..94aff3e22 100644
--- a/.github/actions/automatic-updates/action.yml
+++ b/.github/actions/automatic-updates/action.yml
@@ -67,10 +67,10 @@ runs:
         CI_USER: "github-actions[bot]"
         CI_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com"
       run: |
-        git add camel-k-sbom/camel-k-sbom.json && git commit -m 'Periodic Sync of Camel K Main Branch for SBOM Generation' 
+        git add camel-k-sbom/camel-k-sbom.json && git commit -m 'Periodic Sync of Camel K Main Branch for SBOM Generation' && echo "sbom=1" >> $GITHUB_ENV || echo "No changes to SBOM"
     - name: Push changes
       shell: bash
-      if: env.changelog == 1 || env.refresh == 1
+      if: env.changelog == 1 || env.refresh == 1 || env.sbom == 1
       env:
         CI_USER: "github-actions[bot]"
         CI_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com"