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

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


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

commit 00c0cddf22e1144034b8ca9bc9b762aa89d764f9
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Wed May 31 14:10:28 2023 +0200

    Moved SBOM generation into Nightly updates
    
    Signed-off-by: Andrea Cosentino <anco...@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 8cf480537..b5fd10d5a 100644
--- a/.github/actions/automatic-updates/action.yml
+++ b/.github/actions/automatic-updates/action.yml
@@ -60,10 +60,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"

Reply via email to