Skip to content

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

@LayZeeDK

Description

@LayZeeDK

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions