octomachinery.github.entities.action module¶
GitHub Action wrapper.
- class octomachinery.github.entities.action.GitHubAction(config: GitHubAppIntegrationConfig, http_session: ClientSession, event_routers: Iterable[OctomachineryRouterBase] = {<octomachinery.routing.routers.ConcurrentRouter object>}, metadata: GitHubActionConfig = None)[source]¶
Bases:
GitHubAppGitHub Action API wrapper.
- property api_client: RawGitHubAPI¶
The GitHub App client.
- property event: GitHubEvent¶
Parsed GitHub Action event data.
- property token: GitHubOAuthToken¶
Return GitHub Action access token.