You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/06/27 15:27:04 UTC

[camel] branch main updated: (chores) ci: updated the test bot to provide feedback that it will run the tests

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

orpiske 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 662249c99d5 (chores) ci: updated the test bot to provide feedback that it will run the tests
662249c99d5 is described below

commit 662249c99d5337716ddc3068efc6195ca9462a20
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Tue Jun 27 17:26:38 2023 +0200

    (chores) ci: updated the test bot to provide feedback that it will run the tests
---
 .github/workflows/pr-comment.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.github/workflows/pr-comment.yml b/.github/workflows/pr-comment.yml
index 1e265ee78ac..9463ab2d2e0 100644
--- a/.github/workflows/pr-comment.yml
+++ b/.github/workflows/pr-comment.yml
@@ -32,6 +32,16 @@ jobs:
       matrix:
         java: [ '17' ]
     steps:
+      - uses: actions/github-script@v6
+        with:
+          github-token: ${{ secrets.GITHUB_TOKEN }}
+          script: |
+            github.rest.issues.createComment({
+              issue_number: context.issue.number,
+              owner: context.repo.owner,
+              repo: context.repo.repo,
+              body: `:robot: The Apache Camel test robot will run the tests for you :+1:`
+            })
       - name: Retrieve sha
         uses: actions/github-script@v6
         with: