scully-gh-pages-action icon indicating copy to clipboard operation
scully-gh-pages-action copied to clipboard

feature request: detect default branch or GitHub Pages branch

Open LayZeeDK opened this issue 2 years ago • 0 comments

There are a few common branch names:

  • gh-pages
  • main
  • master

Instead of using master as the default branch name, why don't we detect what the default branch is in the GitHub repo this action is running in?

There might even be an API for detecting the exact branch used for GitHub Pages in the GitHub repo the action is running in.

LayZeeDK avatar Jun 20 '22 00:06 LayZeeDK