mergify
mergify copied to clipboard
Show warning if no config was found
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:
Actual Behavior
If no config was found, it shows an example config.
Steps to Reproduce the Problem
- Place a config file at
.github/.mergify.ymlwith custom rules - Check the mergify dashboard
- You see an example config, but no info that your configuration was not loaded
Specifications
- Pull Request URL:
- Mergify Config URL: