You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "jstastny-cz (via GitHub)" <gi...@apache.org> on 2023/12/15 06:56:05 UTC

[I] fix pullrequest.groovy script getAuthorAndRepoForPr [incubator-kie-issues]

jstastny-cz opened a new issue, #771:
URL: https://github.com/apache/incubator-kie-issues/issues/771

   There is another catch in how Github Source Branch Plugin populates ENV variables:
   
   * For PRs from forks CHANGE_FORK contains
     * owner if repository name between target and fork are equal
       * in this case the fork/repository name needs to be parsed for CHANGE_URL 
     * owner/fork_name if fork_name differs from target repository name
   * For PRs from sameorigin CHANGE_FORK is empty and CHANGE_URL needs to be parsed.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org