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 73bcfd5  (chores) ci: fixed syntax error on the comment script
73bcfd5 is described below

commit 73bcfd5b65aec69ae4904220ff549b0297e47351
Author: Otavio Rodolfo Piske <angusyo...@gmail.com>
AuthorDate: Thu Mar 31 22:30:20 2022 +0200

    (chores) ci: fixed syntax error on the comment script
---
 .github/workflows/component-pr.yaml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/component-pr.yaml 
b/.github/workflows/component-pr.yaml
index 901430d..fa191c9 100644
--- a/.github/workflows/component-pr.yaml
+++ b/.github/workflows/component-pr.yaml
@@ -52,7 +52,7 @@ jobs:
         uses: actions/github-script@v3.1.0
         if: |
           github.event_name == 'workflow_run'
-        with:
+        with:the 
 # Secure download based on:
 # - 
https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
 # - 
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_run
@@ -88,10 +88,9 @@ jobs:
           github-token: ${{ secrets.GITHUB_TOKEN }}
           script: |
             let issue_number = Number(fs.readFileSync('./pr_number'));
-            
             github.rest.issues.createComment({
               issue_number: issue_number,
               owner: context.repo.owner,
               repo: context.repo.repo,
               body: "${{ env.result }}
-            })
+            });

Reply via email to