hayat01sh1da/PR Title from Branch
Set a pull request's title and labels derived from the topic branch name ({user}/{issue}/{category}/{summary})
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| branch-name | Branch name to derive from (default: the pull request's head branch) | no | "" |
| github-token | Token used to update the pull request. The default GITHUB_TOKEN works when the job grants `permissions: pull-requests: write` (plus `issues: write` when `create-label` is 'true'). | no | ${{ github.token }} |
| apply-title | Apply the derived title to the pull request | no | true |
| apply-label | Apply the derived labels to the pull request | no | false |
| create-label | apply-label only: create labels missing from the repository instead of skipping them | no | false |
| overwrite | Apply the title on any pull_request event, not only `opened` — beware this clobbers manually edited titles on `synchronize` runs | no | false |
Outputs
| name | description |
|---|---|
| title | The derived pull request title, e.g. '[service] Improve Onboarding Flow' |
| labels | The derived labels as a JSON array, e.g. '["Hotfix","service"]' |