opendevin.events.action.github
GitHubPushAction Objects
@dataclass
class GitHubPushAction(Action)
This pushes the current branch to github.
To use this, you need to set the GITHUB_TOKEN environment variable. The agent will return a message with a URL that you can click to make a pull request.
Attributes:
owner
- The owner of the source reporepo
- The name of the source repobranch
- The branch to pushaction
- The action identifier
GitHubSendPRAction Objects
@dataclass
class GitHubSendPRAction(Action)
An action to send a github PR.
To use this, you need to set the GITHUB_TOKEN environment variable.
Attributes:
owner
- The owner of the source reporepo
- The name of the source repotitle
- The title of the PRhead
- The branch to send the PR fromhead_repo
- The repo to send the PR frombase
- The branch to send the PR tobody
- The body of the PR