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 2024/07/04 14:35:54 UTC
(camel) branch essobedo/fix-rce-in-comment-action-v2 created (now db55a092902)
This is an automated email from the ASF dual-hosted git repository.
nfilotto pushed a change to branch essobedo/fix-rce-in-comment-action-v2
in repository https://gitbox.apache.org/repos/asf/camel.git
at db55a092902 chore(ci): Fix vulnerability by using directly referenced action
This branch includes the following new commits:
new db55a092902 chore(ci): Fix vulnerability by using directly referenced action
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(camel) 01/01: chore(ci): Fix vulnerability by using directly referenced action
Posted by nf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
nfilotto pushed a commit to branch essobedo/fix-rce-in-comment-action-v2
in repository https://gitbox.apache.org/repos/asf/camel.git
commit db55a092902f26928d56f6d2fb99642c4d633bcb
Author: Nicolas Filotto <nf...@talend.com>
AuthorDate: Thu Jul 4 16:35:31 2024 +0200
chore(ci): Fix vulnerability by using directly referenced action
---
.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