Replies: 11 comments 37 replies
-
Follow up question for you. You are using this example:
Would you be happy if it's I'm loathe to do anything in |
Beta Was this translation helpful? Give feedback.
-
We're trying to create an organizational level repo to hold all our reused workflow components across the company, and this restriction is making organization of these extremely difficult. We have to put every single reusable workflow in the same folder, with no nesting or organization beyond how they are named? That is so ludicrously restrictive. These aren't things that make sense to turn into actions, they're full-fledged jobs that need permissive access. We're probably going to have to make multiple repos just to split these up into logical groups. |
Beta Was this translation helpful? Give feedback.
-
Yeah, this seems like a pretty arbitrary restriction to not allow subdirectories for organizational purposes. |
Beta Was this translation helpful? Give feedback.
-
Is there any status update on this? This issue is nearing 2 years old now. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
This would be incredibly helpful - not sure why this restriction exists but it would really help manage and organise lots of re-usable jobs to not end up with tons of workflows at the same level of the directory |
Beta Was this translation helpful? Give feedback.
-
Please fix this. |
Beta Was this translation helpful? Give feedback.
-
is this thread a duplicate of https://github.com/orgs/community/discussions/18055 ? |
Beta Was this translation helpful? Give feedback.
-
Sounds like a very small edge case that would be up to the repo owners to fix later. |
Beta Was this translation helpful? Give feedback.
-
just stumbled upon this. i mean it forces a flat structure that could potentially be huge therefore hard on the eye. |
Beta Was this translation helpful? Give feedback.
-
After seeing https://github.blog/changelog/2022-01-25-github-actions-reusable-workflows-can-be-referenced-locally/, I was very excited to run jobs like:
However, in my monorepo with dozens of local workflows, I would love to extend this functionality to allow for running workflows in any local directory. When I attempt to run something like:
I see the error:
invalid value workflow reference: workflows must be defined at the top level of the .github/workflows/ directory
This makes organizing my workflows directory very difficult
Previous related tickets:
Beta Was this translation helpful? Give feedback.
All reactions