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 919eb793fff component-test - Set reference to branch
919eb793fff is described below

commit 919eb793fffed8003e4400654581f0043673833d
Author: Nicolas Filotto <nfilo...@talend.com>
AuthorDate: Wed May 31 00:01:36 2023 +0200

    component-test - Set reference to branch
---
 .github/workflows/pr-comment-main.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/pr-comment-main.yml 
b/.github/workflows/pr-comment-main.yml
index ed7874fae8e..7f74c60435f 100644
--- a/.github/workflows/pr-comment-main.yml
+++ b/.github/workflows/pr-comment-main.yml
@@ -49,7 +49,7 @@ jobs:
                   pull_number: context.issue.number
             });
             console.log(pr)
-            core.exportVariable('pr_ref', pr.data.ref)
+            core.exportVariable('pr_ref', pr.data.head.ref)
       - name: Dump GitHub context
         env:
           GITHUB_CONTEXT: ${{ toJson(github) }}

Reply via email to