Skip changelog checks for revert MRs
Context
Closes #28 (closed)
What does this MR do?
We skip the changelog checks in Danger when two conditions are met:
- The MR is a revert MR (i.e. the MR title starts with
revert
orRevert
) - The MR has a regression tag that matches the current milestone (e.g. at the time of writing, regression:15.7 would be the tag)
We now display a warning to tell users about what labels to set if they are in a revert MR.
How to verify it works?
We have created an MR for testing this gem change: gitlab-org/gitlab!105079 (closed). Have a look at the MR description for the results.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by David Dieulivol