title: Git Branch only pulls Master Branch in GitHub Actions
body: <p>I am working with GitHub actions and I am trying to get the last branch that was merged into master and use that branch. I am currently trying to use.</p>
  <pre><code>echo &quot;::set-output name=branch::$(git branch --merged master | tail -1)&quot;
  </code></pre>
  <p>I am using this in the action.yml. I am only getting master from this rather than the other branches that I merged in. Does anyone understand why this might be. I even ran a fetch before hand to make sure the right information was on the local machine. My assumption is that it is not getting closed branches once they are merged. Is this possible in any way?</p>
  <p>Cheers,</p>