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

Show warning if no config was found #5072

Open
bahrmichael opened this issue Feb 20, 2023 · 0 comments
Open

Show warning if no config was found #5072

bahrmichael opened this issue Feb 20, 2023 · 0 comments

Comments

@bahrmichael
Copy link

bahrmichael commented Feb 20, 2023

Context

We placed a mergify config at .github/.mergify.yml. This does not match the expected path .github/mergify.yml. Probably happened because we copied the .mergify.yml from the root of the project.

Now we had a config that could not be found, and the Mergify dashboard showed us an example config (I think). This lead to confusion until we understood that this was an example, and that our config could not be found.

Expected Behavior

I suggest adding a warning that no config was found, and that an example i shown instead. Best with a link to the documentation where the expected file location is explained: https://docs.mergify.com/configuration/#file-used

Scrappy example:

Screenshot 2023-02-20 at 13 42 14

Actual Behavior

If no config was found, it shows an example config.

Steps to Reproduce the Problem

  1. Place a config file at .github/.mergify.yml with custom rules
  2. Check the mergify dashboard
  3. You see an example config, but no info that your configuration was not loaded

Specifications

  • Pull Request URL:
  • Mergify Config URL:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant