You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2023/11/02 11:32:46 UTC

(camel) branch camel-4.0.x updated: (chore) ci: add github action create-or-update-comment (#11886)

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

nfilotto pushed a commit to branch camel-4.0.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-4.0.x by this push:
     new 2a5eb859a25 (chore) ci: add github action create-or-update-comment (#11886)
2a5eb859a25 is described below

commit 2a5eb859a25f45a7a74e4bf177bc157ff236b898
Author: Nicolas Filotto <es...@users.noreply.github.com>
AuthorDate: Thu Nov 2 10:53:23 2023 +0100

    (chore) ci: add github action create-or-update-comment (#11886)
    
    ## Motivation
    
    To avoid potential vulnerabilities due to exposure of the `GITHUB_TOKEN`, it is recommended to use the Github action [create-or-update-comment](https://github.com/peter-evans/create-or-update-comment)
    
    ## Modifications:
    
    * Add the action as a git submodule since the action has not been approved at the Apache organization level
---
 .github/actions/create-or-update-comment | 1 +
 .gitmodules                              | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/.github/actions/create-or-update-comment b/.github/actions/create-or-update-comment
new file mode 160000
index 00000000000..cf8251698e3
--- /dev/null
+++ b/.github/actions/create-or-update-comment
@@ -0,0 +1 @@
+Subproject commit cf8251698e3d53de4e69e4fd13cfd7abb2c230fd
diff --git a/.gitmodules b/.gitmodules
index 61cda74e73e..6d6303adbe3 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,6 @@
 [submodule ".github/actions/backport"]
 	path = .github/actions/backport
 	url = https://github.com/tibdex/backport
+[submodule ".github/actions/create-or-update-comment"]
+	path = .github/actions/create-or-update-comment
+	url = https://github.com/peter-evans/create-or-update-comment.git