ChatOps fails when the last commit used [skip ci]
Summary
GitLab ChatOps integration with Slack does not work when the last commit of the default branch skipped the CI with [skip ci].
Running the /somerepo run xxxx results in
Sorry, this chat service is currently not supported by GitLab ChatOps.
This does not reproduce when the commit message is "normal" and the CI is skipped with git push -o ci.skip. Only [skip ci] git message causes this bug.
Steps to reproduce
- Set up a ChatOps integration of a project with Slack
- Commit something to the project with
[skip ci]being in the commit message - Type
/project run somethinginto Slack - You will get
Sorry, this chat service is currently not supported by GitLab ChatOps.error response - Commit something again, this time without the CI skip flag
- Type
/project run somethinginto Slack again - This time it works fine
Output of checks
This bug happens also on GitLab.com, as well as with the latest 13.12 on-prem.
Edited by Martin Melka