action¶
This module contains functionality required when using chango in GitHub Actions.
- class chango.action.ChanGoActionData(*, parent_pull_request, linked_issues)¶
Data structure for the additional information that the
changoaction automatically provides in addition to the GitHub event payload.- Parameters:
parent_pull_request (
ParentPullRequest|None) – If there is a pull request associated with the target branch of the current pull request, this field contains information about it.linked_issues (tuple[
LinkedIssue], optional) – Information about linked issues, i.e., issues that will be closed when the current pull request is merged.
- parent_pull_request¶
Optional. If there is a pull request associated with the target branch of the current pull request, this field contains information about it.
- Type:
- linked_issues¶
Optional. Information about linked issues, i.e., issues that will be closed when the current pull request is merged.
- Type:
tuple[
LinkedIssue]
- class chango.action.LinkedIssue(*, number, title, labels, issue_type=None)¶
Data structure for an issue linked in a GitHub pull request.
- Parameters:
- class chango.action.ParentPullRequest(*, number, author_login, title, url, state)¶
Data structure for a pull request associated with the target branch of the current pull request.
- Parameters: