tag:help.lighthouseapp.com,2008-09-20:/discussions/problems/67093-allow-limiting-github-commits-to-specified-branchesLighthouse: Discussion 2020-06-09T20:28:30Ztag:help.lighthouseapp.com,2008-09-20:Comment/483855902020-06-05T14:52:03Z2020-06-05T14:52:03ZAllow limiting GitHub commits to specified branches<div><p>Hi,</p>
<p>My team makes extensive use of the <code>[#1234 state:resolved]</code> style comments in git commits. These git commits come from GitHub. The problem we run into is that feature branches also pass these comments to Lighthouse and modify ticket state.</p>
<p>Suggestion: Allow limiting GitHub commit comments to specified branches.</p>
<p>For example, I only want comments for commits that land on the "master" branch. A commit that lands on <code>feature/ticket-1234</code> should not add a comment.</p>
<p>The biggest problem comes when these commits are in an early WIP stage, but the ticket cookie (e.g. <code>[#1234]</code>) affects the Lighthouse workflow and state.</p>
<p>Thanks!</p></div>Jon