Add Labels To Pull Request
Add labels to an issue.
External Documentation
To learn more, visit the GitHub documentation.
Parameters
Parameter | Description |
---|---|
Labels | - |
Owner | The account owner of the repository. The name is not case sensitive. |
Pull Request Number | The pull request number, eg. https://github.com/{owner}/{repo}/pull/{pull request number} . |
Repo | The name of the repository. The name is not case sensitive. |
Example Output
{
"value": [
{
"color": "f29513",
"default": true,
"description": "Something isn't working",
"id": 208045946,
"name": "bug",
"node_id": "MDU6TGFiZWwyMDgwNDU5NDY=",
"url": "https://api.github.com/repos/octocat/Hello-World/labels/bug"
},
{
"color": "a2eeef",
"default": false,
"description": "New feature or request",
"id": 208045947,
"name": "enhancement",
"node_id": "MDU6TGFiZWwyMDgwNDU5NDc=",
"url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement"
}
]
}
Workflow Library Example
Add Labels to Pull Request with Github and Send Results Via Email
Preview this Workflow on desktop