pontos.github.models package ¶
Artifact¶
- class pontos.github.models.artifact.Artifact(id, node_id, name, size_in_bytes, url, archive_download_url, expired, created_at=None, expires_at=None, updated_at=None, workflow_run=None)¶
A GitHub Artifact model
- created_at¶
Creation date of the artifact
- Type:
datetime.datetime | None
- expires_at¶
Expiration date of the artifact
- Type:
datetime.datetime | None
- update_at¶
Last modification date of the artifact
- workflow_run¶
Corresponding GitHub workflow run
- Type:
- class pontos.github.models.artifact.ArtifactWorkflowRun(id, repository_id, head_repository_id, head_branch, head_sha)¶
The workflow run that uploaded the artifact
Base¶
- class pontos.github.models.base.App(id, slug, node_id, owner, name, description, external_url, html_url, created_at, updated_at, events)¶
GitHub app
- owner¶
Owner (user) of the app
- class pontos.github.models.base.Event(value)¶
A GitHub event type
https://docs.github.com/de/actions/using-workflows/events-that-trigger-workflows
- BRANCH_PROTECTION_RULE¶
- CHECK_RUN¶
- CHECK_SUITE¶
- CREATE¶
- DELETE¶
- DEPLOYMENT¶
- DEPLOYMENT_STATUS¶
- DISCUSSION¶
- DISCUSSION_COMMENT¶
- FORK¶
- GOLLUM¶
- ISSUE_COMMENT¶
- ISSUES¶
- LABEL¶
- MERGE_GROUP¶
- MILESTONE¶
- PAGE_BUILD¶
- PROJECT¶
- PROJECT_CARD¶
- PROJECT_COLUMN¶
- PUBLIC¶
- PULL_REQUEST¶
- PULL_REQUEST_COMMENT¶
- PULL_REQUEST_REVIEW¶
- PULL_REQUEST_REVIEW_COMMENT¶
- PULL_REQUEST_TARGET¶
- PUSH¶
- REGISTRY_PACKAGE¶
- RELEASE¶
- REPOSITORY_DISPATCH¶
- SCHEDULE¶
- STATUS¶
- WATCH¶
- WORKFLOW_CALL¶
- WORKFLOW_DISPATCH¶
- WORKFLOW_RUN¶
- class pontos.github.models.base.FileStatus(value)¶
File status
- ADDED¶
File is added
- DELETED¶
File is deleted
- MODIFIED¶
File is modified
- RENAMED¶
File is renamed
- COPIED¶
File is copied
- CHANGED¶
File is changed
- UNCHANGED¶
File is unchanged
- class pontos.github.models.base.GitHubModel¶
Base class for all GitHub models
- class pontos.github.models.base.Permission(value)¶
Permissions on a repository/project at GitHub
- PULL¶
Read permissions
- PUSH¶
Write permissions
- TRIAGE¶
Triage permissions
- MAINTAIN¶
Maintainer permissions
- ADMIN¶
Admin permissions (full access to the project)
- class pontos.github.models.base.SortOrder(value)¶
Sort order: asc or desc
- ASC¶
Use ascending sort order
- DESC¶
Use descending sort order
- class pontos.github.models.base.Team(id, node_id, url, html_url, name, slug, description, privacy, permission, members_url, repositories_url, parent=None)¶
A GitHub Team model
- privacy¶
Privacy scope of the team
- permission¶
Permissions of the teams
- parent¶
An optional parent team
- Type:
- class pontos.github.models.base.TeamPrivacy(value)¶
Team privacy
- SECRET¶
A secret team
- CLOSED¶
A closed team
- class pontos.github.models.base.TeamRole(value)¶
A user’s role withing a team
- MEMBER¶
The user is a “normal” member
- MAINTAINER¶
The user is an admin of the team
- class pontos.github.models.base.User(login, id, node_id, avatar_url, gravatar_id, url, html_url, followers_url, following_url, gists_url, starred_url, subscriptions_url, organizations_url, repos_url, events_url, received_events_url, type, site_admin)¶
A GitHub user model
- gravatar_url¶
URL to the gravatar avatar image
Branch¶
- class pontos.github.models.branch.BranchProtection(url, required_status_checks=None, required_pull_request_reviews=None, restrictions=None, enforce_admins=None, required_linear_history=None, allow_force_pushes=None, allow_deletions=None, block_creations=None, required_conversation_resolution=None, lock_branch=None, allow_fork_syncing=None, required_signatures=None)¶
GitHub branch protection information
- required_status_checks¶
Required status check for the matching branches
- Type:
- required_pull_request_reviews¶
Required pull request reviews for the matching branches.
- restrictions¶
Restrictions who can push to the matching branches.
- Type:
- enforce_admins¶
Enforce the rules also for user in a admin role.
- Type:
- required_linear_history¶
Require a linear history before merging. Restricts merging if the matching branch is out of date.
- Type:
- allow_force_pushes¶
Allow force pushes to the matching branches.
- Type:
- allow_deletions¶
Allow to delete the matching branches.
- Type:
- block_creations¶
Restrict pushes that create matching branches.
- Type:
- required_conversation_resolution¶
Require conversation resolution before merging.
- Type:
- lock_branch¶
Mark matching branches as read-only. Users cannot push to matching branches.
- Type:
- allow_fork_syncing¶
Whether users can pull changes from upstream when the matching branch is locked.
- Type:
- required_signatures¶
Require git commit signatures.
- Type:
- class pontos.github.models.branch.BranchProtectionFeature(enabled, url=None)¶
GitHub branch protection feature setting
- enable¶
True if the feature is enabled
- class pontos.github.models.branch.BypassPullRequestAllowances(users, teams, apps)¶
Settings to allow users, teams and apps to bypass pull request reviews
- user¶
List of user allowed to bypass required pull request reviews
- teams¶
List of teams allowed to bypass required pull request reviews
- Type:
- apps¶
List of apps allowed to bypass required pull request reviews
- Type:
- class pontos.github.models.branch.DismissalRestrictions(url, users_url, teams_url, users, teams, apps)¶
Settings to only allow specific users, teams and apps to dismiss pull request reviews
- users¶
List of user allowed to dismiss pull request reviews
- Type:
- teams¶
List of teams allowed to dismiss pull request reviews
- Type:
- apps¶
List of apps allowed to dismiss pull request reviews
- Type:
- class pontos.github.models.branch.Restrictions(url, users_url, teams_url, apps_url, users, teams, apps)¶
Branch protection push restrictions
- users¶
List of restricted users
- Type:
- teams¶
List of restricted teams
- Type:
- apps¶
List of restricted apps
- Type:
- class pontos.github.models.branch.RequiredStatusChecks(url, strict, checks, enforcement_level=None)¶
Required status checks settings of a branch protection
- checks¶
List of status checks
- Type:
- class pontos.github.models.branch.StatusCheck(context, app_id=None)¶
Status check
- app¶
App ID as the source of the status check
- class pontos.github.models.branch.RequiredPullRequestReviews(url, dismiss_stale_reviews, require_code_owner_reviews, required_approving_review_count, require_last_push_approval, dismissal_restrictions=None, bypass_pull_request_allowances=None)¶
Requires pull request review settings of a branch protection
- dismissal_restrictions¶
Restrictions for who can dismiss pull request reviews
- Type:
- bypass_pull_request_allowances¶
Settings for allowing bypassing the required pull request reviews
Organization¶
- class pontos.github.models.organization.CodeOfConduct(url, key, name, html_url)¶
Code of Conduct
- class pontos.github.models.organization.GitIgnoreTemplate(value)¶
Just a small part of the available gitignore templates at https://github.com/github/gitignore
- C¶
Template for C
- CPP¶
Template for C++
- CMAKE¶
Template for CMake
- GO¶
Template for Golang
- JAVA¶
Template for Java
- MAVEN¶
Template for maven
- NODE¶
Template for Nodejs
- PYTHON¶
Template for Python
- RUST¶
Template for Rust
- class pontos.github.models.organization.InvitationRole(value)¶
A invitation role
- ADMIN¶
Admin only
- DIRECT_MEMBER¶
Direct member only
- BILLING_MANAGER¶
Billing manager only
- class pontos.github.models.organization.License(key, name, node_id, url=None, spdx_id=None, html_url=None)¶
Software License
- class pontos.github.models.organization.LicenseType(value)¶
License Type
- ACADEMIC_FREE_LICENSE_3_0¶
afl-3.0
- APACHE_LICENSE_2_0¶
apache-2.0
- ARTISTIC_LICENSE_2_0¶
artistic-2.0
- BOOST_SOFTWARE_LICENSE_1_0¶
bsl-1.0
- BSD_2_CLAUSE_SIMPLIFIED_LICENSE¶
bsd-2-clause
- BSD_3_CLAUSE_NEW_OR_REVISED_LICENSE¶
bsd-3-clause
- BSD_3_CLAUSE_CLEAR_LICENSE¶
bsd-3-clause-clear
- CREATIVE_COMMONS_LICENSE_FAMILY¶
cc
- CREATIVE_COMMONS_ZERO_1_0_UNIVERSAL¶
cc0-1.0
- CREATIVE_COMMONS_ATTRIBUTION_4_0¶
cc-by-4.0
- CREATIVE_COMMONS_ATTRIBUTION_SHARE_ALIKE_4_0¶
cc-by-sa-4.0
- DO_WHAT_THE_F_CK_YOU_WANT_TO_PUBLIC_LICENSE¶
wtfpl
- EDUCATIONAL_COMMUNITY_LICENSE_2_0¶
ecl-2.0
- ECLIPSE_PUBLIC_LICENSE_1_0¶
epl-1.0
- ECLIPSE_PUBLIC_LICENSE_2_0¶
epl-2.0
- EUROPEAN_UNION_PUBLIC_LICENSE_1_1¶
eupl-1.1
- GNU_AFFERO_GENERAL_PUBLIC_LICENSE_3_0¶
agpl-3.0
- GNU_GENERAL_PUBLIC_LICENSE_FAMILY¶
gpl
- GNU_GENERAL_PUBLIC_LICENSE_2_0¶
gpl-2.0
- GNU_GENERAL_PUBLIC_LICENSE_3_0¶
gpl-3.0
- GNU_LESSER_GENERAL_PUBLIC_LICENSE_FAMILY¶
lgpl
- GNU_LESSER_GENERAL_PUBLIC_LICENSE_2_1¶
lgpl-2.1
- GNU_LESSER_GENERAL_PUBLIC_LICENSE_3_0¶
lgpl-3.0
- ISC¶
isc
- LATEX_PROJECT_PUBLIC_LICENSE_1_3C_L¶
ppl-1.3c
- MICROSOFT_PUBLIC_LICENSE¶
ms-pl
- MIT¶
mit
- MOZILLA_PUBLIC_LICENSE_2_0¶
mpl-2.0
- OPEN_SOFTWARE_LICENSE_3_0¶
osl-3.0
- POSTGRESQL_LICENSE¶
postgresql
- SIL_OPEN_FONT_LICENSE_1_1¶
ofl-1.1
- UNIVERSITY_OF_ILLINOIS_NCSA_OPEN_SOURCE_LICENSE¶
ncsa
- THE_UNLICENSE¶
unlicense
- ZLIB_LICENSE¶
zlib
- class pontos.github.models.organization.MemberFilter(value)¶
A member filter
- TWO_FA_DISABLED¶
Members with 2 factor authentication disabled
- ALL¶
All members
- class pontos.github.models.organization.MemberRole(value)¶
A member role
- ALL¶
All roles
- ADMIN¶
Admin only
- MEMBER¶
Member only
- class pontos.github.models.organization.MergeCommitMessage(value)¶
Merge commit message setting
- PR_BODY¶
Use pull request body
- PR_TITLE¶
Use pull request title
- BLANK¶
Leave it blank
- class pontos.github.models.organization.MergeCommitTitle(value)¶
Merge commit title
- PR_TITLE¶
Use pull request title
- MERGE_MESSAGE¶
Use provided merge commit message
- class pontos.github.models.organization.Organization(avatar_url, events_url, followers_url, following_url, gists_url, html_url, id, login, node_id, organizations_url, received_events_url, repos_url, site_admin, starred_url, subscriptions_url, type, url, email=None, gravatar_id=None, name=None, starred_at=None)¶
A GitHub organization
- starred_at¶
- Type:
datetime.datetime | None
- class pontos.github.models.organization.Repository(archive_url, assignees_url, blobs_url, branches_url, collaborators_url, comments_url, commits_url, compare_url, contents_url, contributors_url, deployments_url, downloads_url, events_url, fork, forks_url, full_name, git_commits_url, git_refs_url, git_tags_url, hooks_url, html_url, id, issue_comment_url, issue_events_url, issues_url, keys_url, labels_url, languages_url, merges_url, milestones_url, name, node_id, notifications_url, owner, private, pulls_url, releases_url, stargazers_url, statuses_url, subscribers_url, subscription_url, tags_url, teams_url, trees_url, url, allow_auto_merge=None, allow_forking=None, allow_merge_commit=None, allow_rebase_merge=None, allow_squash_merge=None, allow_update_branch=None, anonymous_access_enabled=None, archived=None, clone_url=None, code_of_conduct=None, created_at=None, default_branch=None, delete_branch_on_merge=None, description=None, disabled=None, forks_count=None, forks=None, git_url=None, has_discussions=None, has_downloads=None, has_issues=None, has_pages=None, has_projects=None, has_wiki=None, homepage=None, is_template=None, language=None, license=None, merge_commit_title=None, merge_commit_message=None, mirror_url=None, network_count=None, open_issues_count=None, open_issues=None, organization=None, permissions=None, pushed_at=None, security_and_analysis=None, size=None, ssh_url=None, stargazers_count=None, subscribers_count=None, svn_url=None, squash_merge_commit_message=None, squash_merge_commit_title=None, temp_clone_token=None, topics=<factory>, updated_at=None, use_squash_pr_title_as_default=None, visibility=None, watchers_count=None, watchers=None, web_commit_signoff_required=None)¶
A GitHub repository model
- owner¶
- code_of_conduct¶
- Type:
- created_at¶
- Type:
datetime.datetime | None
- license¶
- Type:
- merge_commit_title¶
- Type:
- merge_commit_message¶
- Type:
- organization¶
- Type:
- permissions¶
- pushed_at¶
- Type:
datetime.datetime | None
- security_and_analysis¶
- squash_merge_commit_message¶
- squash_merge_commit_title¶
- updated_at¶
Last modification date
- Type:
datetime.datetime | None
- class pontos.github.models.organization.RepositoryPermissions(admin, push, pull, maintain=None, triage=None)¶
GitHub repository permissions
- class pontos.github.models.organization.RepositoryType(value)¶
A repository type
- ALL¶
All repository types
- PUBLIC¶
Public repository
- PRIVATE¶
Private repository
- FORKS¶
Forked repository
- SOURCES¶
- MEMBER¶
- INTERNAL¶
- class pontos.github.models.organization.SecurityAndAnalysis(advanced_security=None, dependabot_security_updates=None, secret_scanning=None, secret_scanning_push_protection=None)¶
Security and analysis
- advanced_security¶
Status of GitHub Advanced Security is used
- dependabot_security_updates¶
Status of Dependabot security updates are used
- secret_scanning¶
Status of Secret Scanning is used
- secret_scanning_push_protection¶
Status of Secret Scanning Push Protection is used
- class pontos.github.models.organization.SecurityAndAnalysisStatus(value)¶
Security and analysis status
- ENABLED¶
enabled
- DISABLED¶
disabled
- class pontos.github.models.organization.SecurityAndAnalysisType(status)¶
Security and analysis type
Pull Request¶
- class pontos.github.models.pull_request.AuthorAssociation(value)¶
Pull request author association
- COLLABORATOR¶
Author is a collaborator
- CONTRIBUTOR¶
Author is a contributor
- FIRST_TIMER¶
First time pull request
- FIRST_TIME_CONTRIBUTOR¶
Author is a first time contributor
- MANNEQUIN¶
Author is a mannequin
- MEMBER¶
Author is a member
- NONE¶
None
- OWNER¶
Author is owner
- class pontos.github.models.pull_request.AutoMerge(enabled_by, merge_method, commit_title, commit_message)¶
Auto merge information
- enabled_by¶
User who enabled the auto merge
- merge_method¶
Method that is used for the auto merge
- class pontos.github.models.pull_request.Comment(id, node_id, url, html_url, issue_url, created_at, updated_at, author_association, body=None, user=None, reactions=None)¶
A single comment of a pull request/issue
- created_at¶
Creation date
- Type:
- updated_at¶
Last modification date
- Type:
- author_association¶
How the author is associated with the repository
- user¶
Author of the comment
- Type:
- reactions¶
Reactions to the comment
- Type:
pontos.github.models.pull_request.Reactions | None
- class pontos.github.models.pull_request.DiffEntry(additions, blob_url, changes, contents_url, deletions, filename, raw_url, sha, status, patch=None, previous_filename=None)¶
Diff information of a pull request commit
- status¶
File status
- class pontos.github.models.pull_request.Label(id, node_id, url, name, color, default, description=None)¶
Pull request label
- class pontos.github.models.pull_request.MergeMethod(value)¶
The (auto) merge method
- MERGE¶
Create a merge commit
- SQUASH¶
Squash commits into a single commit
- REBASE¶
Rebase commits onto the target branch
- class pontos.github.models.pull_request.Milestone(closed_issues, created_at, html_url, id, labels_url, node_id, number, open_issues, state, title, updated_at, url, closed_at=None, creator=None, description=None, due_on=None)¶
Pull request milestone
- created_at¶
Creation date
- Type:
- state¶
State of the milestone
- updated_at¶
Last modification date
- Type:
- closed_at¶
Closed date
- Type:
datetime.datetime | None
- creator¶
Use who created the milestone
- Type:
- due_on¶
Due date of the milestone
- Type:
datetime.datetime | None
- class pontos.github.models.pull_request.MilestoneState(value)¶
State of a pull request milestone (open, closed)
- OPEN¶
Milestone is open
- CLOSED¶
Milestone is closed
- class pontos.github.models.pull_request.PullRequest(additions, author_association, base, changed_files, comments_url, comments, commits_url, commits, created_at, deletions, diff_url, head, html_url, id, issue_url, locked, maintainer_can_modify, mergeable_state, merged, node_id, number, patch_url, review_comment_url, review_comments_url, review_comments, state, statuses_url, title, updated_at, url, user, active_lock_reason=None, assignee=None, assignees=<factory>, auto_merge=None, body=None, closed_at=None, draft=None, labels=<factory>, merge_commit_sha=None, mergeable=None, merged_at=None, merged_by=None, milestone=None, rebaseable=None, requested_reviewers=<factory>, requested_teams=<factory>)¶
A GitHub pull request
- author_association¶
Author role
- base¶
Reference to the source branch
- created_at¶
Creation date
- Type:
- head¶
Reference to the target branch
- state¶
State of the pull request
- updated_at¶
Last modification date
- Type:
- user¶
User who created the pull request
- assignee¶
Assigned user
- Type:
- assignees¶
List of assigned users
- Type:
- auto_merge¶
True if the pull request should be merged automatically
- Type:
- closed_at¶
Date when the pull request was closed
- Type:
datetime.datetime | None
- labels¶
List of assigned labels
- Type:
- merged_at¶
Date when the pull request got merged
- Type:
datetime.datetime | None
- merged_by¶
User who merged the pull request
- Type:
- milestone¶
A connected milestone
- Type:
- requested_reviewers¶
List of users requested as reviewers
- Type:
- requested_teams¶
List of teams requested as reviewers
- Type:
- class pontos.github.models.pull_request.PullRequestCommit(url, sha, node_id, html_url, comments_url, commit, author, stats=None, files=<factory>, committer=None, parents=<factory>)¶
Pull request commit
- commit¶
Git commit object
- author¶
Author of the pull request commit
- stats¶
File stats of the pull request commit
- Type:
- files¶
Diff information about the files in pull request commit
- Type:
- committer¶
Committer of the pull request
- Type:
- parents¶
List of parent commits
- class pontos.github.models.pull_request.PullRequestCommitDetails(comment_count, message, tree, url, verification, author=None, committer=None)¶
Detailed information of a pull request commit
- tree¶
Commit tree
- verification¶
Verification details of the pull request commit
- author¶
Author of the pull request commit
- committer¶
Committer of the pull request commit
- class pontos.github.models.pull_request.PullRequestCommitParent(url, sha, html_url=None)¶
Pull request parent commit information
- class pontos.github.models.pull_request.PullRequestCommitUser(name, email, date)¶
User information of a commit
- date¶
- Type:
- class pontos.github.models.pull_request.PullRequestCommitVerification(verified, reason, signature=None, payload=None)¶
Verification details of a pull request commit
- class pontos.github.models.pull_request.PullRequestRef(label, ref, sha, user, repo)¶
Pull request reference
- user¶
User who created the pull request reference
- repo¶
Corresponding repository
- class pontos.github.models.pull_request.PullRequestState(value)¶
Pull request state
- OPEN¶
Pull request is open
- CLOSED¶
Pull request is closed
- class pontos.github.models.pull_request.Stats(additions, deletions, total)¶
Pull request commit stats
Release¶
- class pontos.github.models.release.Release(assets_url, created_at, draft, html_url, id, node_id, prerelease, tag_name, target_commitish, upload_url, url, assets=<factory>, author=None, body_html=None, body_text=None, body=None, discussion_url=None, mentions_count=None, name=None, published_at=None, reactions=None, tarball_url=None, zipball_url=None)¶
A GitHub release model
- created_at¶
Creation Date
- Type:
- assets¶
Information about the release assets
- Type:
- author¶
User created the release
- Type:
- published_at¶
Publication date of the release
- Type:
datetime.datetime | None
- reactions¶
Reaction information
- Type:
- class pontos.github.models.release.ReleaseAsset(url, browser_download_url, id, node_id, name, state, content_type, size, download_count, created_at, updated_at, label=None, uploader=None)¶
A GitHub release asset model
- state¶
State of the asset
- created_at¶
Creation date
- Type:
- updated_at¶
Upload date
- Type:
- uploader¶
User who uploaded the asset
- Type:
- class pontos.github.models.release.ReleaseAssetState(value)¶
State of a release asset
- UPLOADED¶
Uploaded
- OPEN¶
Open
- class pontos.github.models.release.ReleaseReactions(url, total_count, laugh, confused, heart, hooray, eyes, rocket)¶
Reactions to a GitHub release
Search¶
- class pontos.github.models.search.InDescriptionQualifier¶
Qualifier for searching in repository descriptions
- class pontos.github.models.search.InNameQualifier¶
Qualifier for searching in repository names
- class pontos.github.models.search.InReadmeQualifier¶
Qualifier for searching in repository READMEs
- class pontos.github.models.search.InTopicsQualifier¶
Qualifier for searching in repository topics
- class pontos.github.models.search.IsPrivateQualifier¶
Qualifier for searching for private repositories
- class pontos.github.models.search.IsPublicQualifier¶
Qualifier for searching for public repositories
- class pontos.github.models.search.NotQualifier(qualifier)¶
Qualifier for negating another qualifier
Example
Exclude a repository from a search
from pontos.github.models import NotQualifier, RepositoryQualifier qualifier = NotQualifier(RepositoryQualifier("foo/bar"))
- class pontos.github.models.search.OrganizationQualifier(organization)¶
Qualifier for searching within a specific organization
Search within an organization
- Parameters:
organization (str) – Name of the organization to search within
- class pontos.github.models.search.Qualifier¶
An abstract base class for search qualifiers
- class pontos.github.models.search.RepositoryQualifier(repository)¶
Qualifier for searching within a specific repository
Search within a repository
- Parameters:
repository (str) – owner/repo
- class pontos.github.models.search.RepositorySort(value)¶
Sort repositories by
- STARS¶
GitHub starts
- FORKS¶
GitHub forks
- HELP_WANTED_ISSUES¶
Number of issues with help wanted label
- UPDATED¶
Last updated
Tag¶
- class pontos.github.models.tag.GitObjectType(value)¶
A git object type
- COMMIT¶
A commit object
- TREE¶
A tree object
- BLOB¶
A blob object
- class pontos.github.models.tag.Tag(node_id, tag, sha, url, message, tagger, object, verification=None)¶
A GitHub tag model
- tagger¶
The creator of the tag
- object¶
The corresponding git object
- Type:
pontos.github.models.tag.GitObject
- verification¶
The verification status of the tag
- Type:
- class pontos.github.models.tag.Tagger(date, email, name)¶
GitHub user who created a tag
- date¶
Date of the tag
- Type:
- class pontos.github.models.tag.Verification(verified, reason, payload=None, signature=None)¶
Verification details of a tag
- reason¶
Details of the reason of the verification status
- class pontos.github.models.tag.VerificationReason(value)¶
Verification reason details
- EXPIRED_KEY¶
Signature key has expired
- NOT_SIGNING_KEY¶
No signature key available
- GPGVERIFY_ERROR¶
GPG verification error
- GPGVERIFY_UNAVAILABLE¶
GPG verification not available
- UNSIGNED¶
Not signed
- UNKNOWN_SIGNATURE_TYPE¶
Unknown signature type
- NO_USER¶
No user
- UNVERIFIED_EMAIL¶
Email address not verified
- BAD_EMAIL¶
Bad email address
- UNKNOWN_KEY¶
Unknown signature key
- MALFORMED_SIGNATURE¶
Malformed signature
- INVALID¶
Invalid signature
- VALID¶
Valid signature
Workflow¶
- class pontos.github.models.workflow.Workflow(id, node_id, name, path, state, created_at, updated_at, url, html_url, badge_url, deleted_at=None)¶
GitHub workflow
- state¶
State of the workflow
- created_at¶
Creation date
- Type:
- updated_at¶
Last modification date
- Type:
- deleted_at¶
Deletion date of the workflow
- Type:
datetime.datetime | None
- class pontos.github.models.workflow.WorkflowState(value)¶
State of a workflow
- ACTIVE¶
Workflow is active
- DELETED¶
Workflow is deleted
- DISABLED_FORK¶
Workflow is disabled because it is run from a fork
- DISABLED_INACTIVITY¶
Workflow is disabled because if inactivity
- DISABLED_MANUALLY¶
Workflow is disabled manually
- class pontos.github.models.workflow.WorkflowRun(artifacts_url, cancel_url, check_suite_url, created_at, event, head_repository, head_sha, html_url, id, jobs_url, logs_url, node_id, repository, rerun_url, run_number, updated_at, url, workflow_id, workflow_url, actor=None, check_suite_id=None, check_suite_node_id=None, conclusion=None, display_title=None, head_branch=None, head_commit=None, head_repository_id=None, name=None, path=None, previous_attempt_url=None, pull_requests=<factory>, referenced_workflows=<factory>, run_attempt=None, run_started_at=None, status=None, triggering_actor=None)¶
GitHub workflow run
- created_at¶
Creation date of the workflow run
- Type:
- event¶
Event that triggered the workflow run
- head_repository¶
- repository¶
Corresponding repository of the workflow run
- updated_at¶
Last modification date
- Type:
- actor¶
User that runs the workflow
- Type:
- head_commit¶
- Type:
- pull_requests¶
List of pull requests
- Type:
List[Dict]
- referenced_workflows¶
List of references workflows
- run_started_at¶
Date the run started at
- Type:
datetime.datetime | None
- status¶
Status of the workflow run
- Type:
- triggering_actor¶
User who triggered the workflow run
- Type:
- class pontos.github.models.workflow.WorkflowRunCommit(id, tree_id, message, timestamp, author=None, committer=None)¶
GitHub workflow run commit reference
- timestamp¶
Timestamp of the commit
- Type:
- author¶
Author of the commit
- Type:
- committer¶
Committer of the commit
- Type:
- class pontos.github.models.workflow.WorkflowRunCommitUser(name, email)¶
User information of a workflow run commit
- class pontos.github.models.workflow.WorkflowRunRepository(id, url, name, node_id, full_name=None, owner=None, private=None, html_url=None, description=None, fork=None, archive_url=None, assignees_url=None, blobs_url=None, branches_url=None, collaborators_url=None, comments_url=None, commits_url=None, compare_url=None, contents_url=None, contributors_url=None, deployments_url=None, downloads_url=None, events_url=None, forks_url=None, git_commits_url=None, git_refs_url=None, git_tags_url=None, git_url=None, issue_comment_url=None, issue_events_url=None, issues_url=None, keys_url=None, labels_url=None, languages_url=None, merges_url=None, milestones_url=None, notifications_url=None, pulls_url=None, releases_url=None, ssh_url=None, stargazers_url=None, statuses_url=None, subscribers_url=None, subscription_url=None, tags_url=None, teams_url=None, trees_url=None, hooks_url=None)¶
GitHub workflow run repository
- owner¶
Owner of the repository
- Type:
- class pontos.github.models.workflow.WorkflowRunStatus(value)¶
Status of a workflow run
- ACTION_REQUIRED¶
Use action is required
- CANCELLED¶
The workflow run is canceled
- COMPLETED¶
The workflow run is completed
- FAILURE¶
The workflow run failed
- IN_PROGRESS¶
The workflow run is in progress
- NEUTRAL¶
Neutral
- QUEUED¶
The workflow run is queued
- REQUESTED¶
The workflow run is requested
- SKIPPED¶
The workflow run is skipped
- STALE¶
The workflow run is stale
- SUCCESS¶
The workflow run is finished successfully
- TIMED_OUT¶
The workflow run has timed out
- WAITING¶
The workflow run is waiting
- PENDING¶
The workflow run is pending