Skip to content
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

Allow .yaml #773

Open
dmyersturnbull opened this issue Aug 7, 2023 · 0 comments
Open

Allow .yaml #773

dmyersturnbull opened this issue Aug 7, 2023 · 0 comments

Comments

@dmyersturnbull
Copy link

New Feature

First, thanks for building and maintaining this. I've been using this for a couple years, and it saved a lot of time.

Currently, Probot only looks for settings.yml. I'm wondering if it could also look for ``settings.yaml (.yaml`).
In my little CI/CD test repo, every other YAML file is `.yaml`.
It took me longer than I care to admit to figure out why settings weren't syncing.

Per the official docs, .yaml is preferred. (Per wayback, it has been since 2006).

Please describe the desired new functionality:

Probot Settings could use both.

  • If both .yaml and .yml are present, error out.
  • If one is present, use it.

I took a look at settings.js. I can submit a PR if desired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant