-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Labels
manager:regexpriority-3-mediumDefault priority, "should be done" but isn't prioritised ahead of othersDefault priority, "should be done" but isn't prioritised ahead of others
Description
Discussed in #38638
Originally posted by MrLemur October 15, 2025
How are you running Renovate?
Self-hosted Renovate
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
GitHub
Please tell us more about your question or problem
I have a repo structure like so:
- <folder>
- <sub folder>
- service.env
service.env only contains a version number. What I am trying to achieve is getting the depName from the parent directory where service.env lives. I'm using a custom regex manager to get the file, but I have been unable to use packageFile or packageFileDir within the depNameTemplate field - it always shows as undefined. I am even trying something like "packageNameTemplate": "{{ lookup (split {{ packageFileDir}} '/') 1 }}"
Is what I am looking to do even possible? Many thanks.
Logs (if relevant)
No response
Metadata
Metadata
Assignees
Labels
manager:regexpriority-3-mediumDefault priority, "should be done" but isn't prioritised ahead of othersDefault priority, "should be done" but isn't prioritised ahead of others