{"action":"created","issue":{"url":"https://api.github.com/repos/conventional-changelog/validate-commit-msg/issues/85","repository_url":"https://api.github.com/repos/conventional-changelog/validate-commit-msg","labels_url":"https://api.github.com/repos/conventional-changelog/validate-commit-msg/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/conventional-changelog/validate-commit-msg/issues/85/comments","events_url":"https://api.github.com/repos/conventional-changelog/validate-commit-msg/issues/85/events","html_url":"https://github.com/conventional-changelog/validate-commit-msg/issues/85","id":234245670,"number":85,"title":"How to make multi-line commits","user":{"login":"danielo515","id":2270425,"avatar_url":"https://avatars1.githubusercontent.com/u/2270425?v=3","gravatar_id":"","url":"https://api.github.com/users/danielo515","html_url":"https://github.com/danielo515","followers_url":"https://api.github.com/users/danielo515/followers","following_url":"https://api.github.com/users/danielo515/following{/other_user}","gists_url":"https://api.github.com/users/danielo515/gists{/gist_id}","starred_url":"https://api.github.com/users/danielo515/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielo515/subscriptions","organizations_url":"https://api.github.com/users/danielo515/orgs","repos_url":"https://api.github.com/users/danielo515/repos","events_url":"https://api.github.com/users/danielo515/events{/privacy}","received_events_url":"https://api.github.com/users/danielo515/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-06-07T15:16:34Z","updated_at":"2017-07-11T15:40:48Z","closed_at":null,"body":"Hello,\r\n\r\nI want to use your tool to enforce a commit style on my repository, but I need to be able to make multi line commits. I have a monorepo and this is a very important feature. My commits looks like this:\r\n\r\n\r\n```\r\n    fix(DB): fixed the bug \r\n\r\n    affects: module-name\r\n\r\n    - Fixed SSL properties are now actual getters\r\n    - Added the missing modules (fs)\r\n    - Test coverage raised again to 100%\r\n```\r\n\r\nI tried updating the subject patten to be `\"subjectPattern\": \"[.\\n]+\",` but that didn't worked neither.\r\n\r\nAny guidance will be welcome.\r\n\r\nRegards"},"comment":{"url":"https://api.github.com/repos/conventional-changelog/validate-commit-msg/issues/comments/314485191","html_url":"https://github.com/conventional-changelog/validate-commit-msg/issues/85#issuecomment-314485191","issue_url":"https://api.github.com/repos/conventional-changelog/validate-commit-msg/issues/85","id":314485191,"user":{"login":"Garbee","id":868301,"avatar_url":"https://avatars2.githubusercontent.com/u/868301?v=3","gravatar_id":"","url":"https://api.github.com/users/Garbee","html_url":"https://github.com/Garbee","followers_url":"https://api.github.com/users/Garbee/followers","following_url":"https://api.github.com/users/Garbee/following{/other_user}","gists_url":"https://api.github.com/users/Garbee/gists{/gist_id}","starred_url":"https://api.github.com/users/Garbee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Garbee/subscriptions","organizations_url":"https://api.github.com/users/Garbee/orgs","repos_url":"https://api.github.com/users/Garbee/repos","events_url":"https://api.github.com/users/Garbee/events{/privacy}","received_events_url":"https://api.github.com/users/Garbee/received_events","type":"User","site_admin":false},"created_at":"2017-07-11T15:40:48Z","updated_at":"2017-07-11T15:40:48Z","body":"> The validation is being performed against the previous commit, not the current one.\r\n\r\nThis would need its own bug report with steps to reproduce. Or even a PR with a test case if you can manage writing one. There is no reason I can see within the code that this case should occur.\r\n\r\nOn the note of multline messages... They shouldn't matter. We split out the first line (since that is the main commit message) and only validate that data."}}
{"actor":{"display_login":"Garbee"}}