mergify icon indicating copy to clipboard operation
mergify copied to clipboard

Show warning if no config was found

Open bahrmichael opened this issue 2 years ago • 0 comments

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:

bahrmichael avatar Feb 20 '23 12:02 bahrmichael