Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: detect default branch or GitHub Pages branch #23

Open
LayZeeDK opened this issue Jun 20, 2022 · 0 comments
Open

feature request: detect default branch or GitHub Pages branch #23

LayZeeDK opened this issue Jun 20, 2022 · 0 comments

Comments

@LayZeeDK
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant