songmu/Create Branch from any refs without Checkout
Create git branches instantly using GitHub API without checkout. Supports any ref and cross-repository creation.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | GitHub token with write access to the repository | no | ${{ github.token }} |
| repository | Repository name with owner. For example, actions/checkout | no | ${{ github.repository }} |
| branch | The name of the branch to create | yes | — |
| ref | The ref (branch/tag/commit) to create the new branch from | no | ${{ github.ref }} |
Outputs
| name | description |
|---|---|
| created | Whether the branch was created (true) or already existed (false) |