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

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


The following commit(s) were added to refs/heads/main by this push:
     new 196dd98c176 chore(ci): Fix vulnerability by using directly referenced 
action (#14725)
196dd98c176 is described below

commit 196dd98c1769510046f9048786041189c0413c10
Author: Nicolas Filotto <essob...@users.noreply.github.com>
AuthorDate: Thu Jul 4 16:48:42 2024 +0200

    chore(ci): Fix vulnerability by using directly referenced action (#14725)
---
 .github/actions/component-test/action.yaml | 4 ++--
 .github/actions/create-or-update-comment   | 1 -
 .github/workflows/pr-comment.yml           | 2 +-
 .gitmodules                                | 3 ---
 4 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/.github/actions/component-test/action.yaml 
b/.github/actions/component-test/action.yaml
index f172611a522..c1006e4a85a 100644
--- a/.github/actions/component-test/action.yaml
+++ b/.github/actions/component-test/action.yaml
@@ -69,7 +69,7 @@ runs:
         path: tests.log
     - name: Success comment
       if: success() 
-      uses: ./.github/actions/create-or-update-comment
+      uses: 
peter-evans/create-or-update-comment@c9fcb64660bc90ec1cc535646af190c992007c32
       with:
         comment-id: ${{ inputs.comment-id }}
         edit-mode: replace
@@ -79,7 +79,7 @@ runs:
           **Result** :white_check_mark: The tests passed successfully
     - name: Failure comment
       if: failure() 
-      uses: ./.github/actions/create-or-update-comment
+      uses: 
peter-evans/create-or-update-comment@c9fcb64660bc90ec1cc535646af190c992007c32
       with:
         comment-id: ${{ inputs.comment-id }}
         edit-mode: replace
diff --git a/.github/actions/create-or-update-comment 
b/.github/actions/create-or-update-comment
deleted file mode 160000
index 71345be0265..00000000000
--- a/.github/actions/create-or-update-comment
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 71345be0265236311c031f5c7866368bd1eff043
diff --git a/.github/workflows/pr-comment.yml b/.github/workflows/pr-comment.yml
index ebf383dc106..cb178c43532 100644
--- a/.github/workflows/pr-comment.yml
+++ b/.github/workflows/pr-comment.yml
@@ -47,7 +47,7 @@ jobs:
         with:
           ref: ${{ env.pr_sha }}
           submodules: recursive
-      - uses: ./.github/actions/create-or-update-comment
+      - uses: 
peter-evans/create-or-update-comment@c9fcb64660bc90ec1cc535646af190c992007c32
         with:
           issue-number: ${{ github.event.issue.number }}
           body: |
diff --git a/.gitmodules b/.gitmodules
index e10cc9959c1..e69de29bb2d 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +0,0 @@
-[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

Reply via email to