[GH-ISSUE #580] [BUG]: Repos "on pull" path invalid #5011

Closed
opened 2026-04-22 00:11:24 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @mirisbowring on GitHub (Jun 4, 2025).
Original GitHub issue: https://github.com/moghtech/komodo/issues/580

Hi,

first of all, thanks for the great tool!
Since tinkering around with komodo, i stumble often about a specific problem with the repos.

I added a github repo to komodo and configured an "on clone" and "on pull" action. So far so good.
When cloning the repo, the clone action gets executed from the repo root. -> works as desired. After, a pull is executed and it works the same.

BUT

Later, when I only "pull" the repo (e.g. triggered via webhook), the path for the "on pull" action is not the repo root but the "repos" root folder:

Image

to circumvent this, i can add the repo name as "path" to the "on pull" command and it works again. Unfortunately, this causes the clone to break since it tries to execute the "on pull" withe the correct base:

Image

As you can see, when cloning (and the pull action get's triggered), the "added" path gets added to the repo root and does obviously not exist.

So I have to clean it like it should to clone and add the repo name in the "on pull" path after to pull afterwards.

Originally created by @mirisbowring on GitHub (Jun 4, 2025). Original GitHub issue: https://github.com/moghtech/komodo/issues/580 Hi, first of all, thanks for the great tool! Since tinkering around with komodo, i stumble often about a specific problem with the repos. I added a github repo to komodo and configured an "on clone" and "on pull" action. So far so good. When cloning the repo, the clone action gets executed from the repo root. -> works as desired. After, a pull is executed and it works the same. BUT Later, when I only "pull" the repo (e.g. triggered via webhook), the path for the "on pull" action is not the repo root but the "repos" root folder: <img width="850" alt="Image" src="https://github.com/user-attachments/assets/1acae668-ab49-4972-b7c4-238e2ca606db" /> to circumvent this, i can add the repo name as "path" to the "on pull" command and it works again. Unfortunately, this causes the clone to break since it tries to execute the "on pull" withe the correct base: <img width="1083" alt="Image" src="https://github.com/user-attachments/assets/035d7c0c-8803-47af-910e-ff782261b73b" /> As you can see, when cloning (and the pull action get's triggered), the "added" path gets added to the repo root and does obviously not exist. So I have to clean it like it should to clone and add the repo name in the "on pull" path after to pull afterwards.
GiteaMirror added the donebug labels 2026-04-22 00:11:24 -05:00
Author
Owner

@mbecker20 commented on GitHub (Jun 6, 2025):

I noticed recently as well, I have a note to fix

<!-- gh-comment-id:2949833440 --> @mbecker20 commented on GitHub (Jun 6, 2025): I noticed recently as well, I have a note to fix
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/komodo#5011