[9.18] Teach danger about amend
Backport of MR !7430 (merged)
commit --fixup=amend: produces a subject starting with amend! by default. Have danger look for this to ensure that it is squashed before merging.
(cherry picked from commit 9b124732)
Closes #3824 (closed)
Edited by Mark Andrews