mindaugaslaganeckas/Get default branch
Get the default branch
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| token | GITHUB_TOKEN or a `repo` scoped Personal Access Token (PAT) | — | ${{ github.token }} |
| path | owner/repository | — | — |
Outputs
| name | description |
|---|---|
| default-branch | Default branch name or empty string if there are no branches |