-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YAML aliases #1582
Comments
@prma85 👋 thanks for the suggestion! We're holding off on supporting aliases until we know what will be supported in GitHub Actions workflow files. We're keen to keep these feature compatible so we can migrate towards actions in future. |
I'd like to request to reopen this one. yaml Aliases would be super useful for dependabot. |
Voicing my request for this as well. A simple alias can help me clean up 44 duplicate lines of code down into just 4 (plus the original alias block) |
Same here. YAML aliases are super useful |
Vote at https://github.com/orgs/community/discussions/37496 (warming up this old issue as this is the first search-result) |
Yeah, this should be re-opened, it got missed back when we had stalebot a long time ago. I'm not sure we'll do it... as noted above, we have some interest in moving to be more compatible with actions workflow files, but in the meantime this should stay open. |
If do ever implement this, note the warning from @greysteil:
|
Dependabot does not support subdirectories and I did not want to bother with scripting the output: - dependabot/dependabot-core#2178 Dependabot does not support YAML aliases: - dependabot/dependabot-core#1582
Dependabot does not support subdirectories and I did not want to bother with scripting the output: - dependabot/dependabot-core#2178 Dependabot does not support YAML aliases: - dependabot/dependabot-core#1582
👋 Still not sure we'll do this, but this feature request deserves some context. Dependabot has a backend service that parses the BUT I can share that we're currently running a public beta which introduces multi-directory support. While it may not satisfy the needs for all usecases mentioned in this thread, it should address the case in this issues description. That might look something like 👇 today. version: 2
updates:
- package-ecosystem: npm
directories:
- "/"
- "/__defaults"
schedule:
interval: daily
allow:
- dependency-type: all |
Hi all 👋 , Dependabot PM here! Thank you for your suggestions and for contributing to the discussion. At this time, we won't be prioritizing this feature for the following reasons (thank you @landongrindheim for the summary above, to reiterate your comments):
However, for some potential solves for issues mentioned in this thread, check out our multi-directory public beta! We appreciate your understanding and thank you again for your feedback! |
… not supported Dependabot couldn't parse the config file at .github/dependabot.yml. The error raised was: ``` YAML aliases are not supported ``` See: dependabot/dependabot-core#1582 Fixes: TYPO3-Solr#3168
… not supported Dependabot couldn't parse the config file at .github/dependabot.yml. The error raised was: ``` YAML aliases are not supported ``` See: dependabot/dependabot-core#1582 Fixes: #3168
Shouldn't it be something like the following? # ...
update_configs:
- <<: *DEFAULT
# Also update the defaults
- <<: *DEFAULT
directory: "/__defaults" |
This is a bummer, most configs are repeatable and aliases supported by every stdib yaml parser I've used, including in Ruby |
As an user, I would like to use YAML aliases to convert long code/configuration that repeats in simple one. Today, if you try to to it, you will get an error
YAML aliases are not supported
I would like to convert
The text was updated successfully, but these errors were encountered: