repomatic.github package¶
GitHub integration: API clients, the gh wrapper and per-surface helpers.
Covers every GitHub surface repomatic touches (releases, issues, PRs, tokens, workflows). See each submodule’s docstring for its scope.
Submodules¶
repomatic.github.ci_statusmoduleTIP_HISTORY_DEPTHSTABLE_GLYPHUNSTABLE_GLYPHTERMINAL_STATUSESCI_STATUS_HEADER_DEFSLOG_NAME_RERUN_FIELDSJobStatusRunStatusRunStatus.workflowRunStatus.run_idRunStatus.head_shaRunStatus.statusRunStatus.conclusionRunStatus.jobsRunStatus.failed_requiredRunStatus.failed_probesRunStatus.running_jobsRunStatus.unexpanded_jobsRunStatus.workflow_level_failureRunStatus.blockingRunStatus.cancelled_requiredRunStatus.cancelledRunStatus.skippedRunStatus.inconclusiveRunStatus.verdictRunStatus.cells()RunStatus.findings()
CIStatusworkflow_files()monitored_workflows()latest_run()read_ci_status()write_failed_logs()WatchStatewatch_ci_status()
repomatic.github.dev_releasemodulerepomatic.github.eventmoduleWorkflowEventWorkflowEvent.branch_protection_ruleWorkflowEvent.check_runWorkflowEvent.check_suiteWorkflowEvent.createWorkflowEvent.deleteWorkflowEvent.deploymentWorkflowEvent.deployment_statusWorkflowEvent.discussionWorkflowEvent.discussion_commentWorkflowEvent.forkWorkflowEvent.gollumWorkflowEvent.issue_commentWorkflowEvent.issuesWorkflowEvent.labelWorkflowEvent.merge_groupWorkflowEvent.milestoneWorkflowEvent.page_buildWorkflowEvent.projectWorkflowEvent.project_cardWorkflowEvent.project_columnWorkflowEvent.publicWorkflowEvent.pull_requestWorkflowEvent.pull_request_commentWorkflowEvent.pull_request_reviewWorkflowEvent.pull_request_review_commentWorkflowEvent.pull_request_targetWorkflowEvent.pushWorkflowEvent.registry_packageWorkflowEvent.releaseWorkflowEvent.repository_dispatchWorkflowEvent.scheduleWorkflowEvent.statusWorkflowEvent.watchWorkflowEvent.workflow_callWorkflowEvent.workflow_dispatchWorkflowEvent.workflow_run
extract_workflow_filename()get_github_event()get_event_pull_request()get_event_subject()get_default_author()get_default_number()get_default_branch()is_pull_request()
repomatic.github.ghmodulerepomatic.github.issuemodulerepomatic.github.job_timingsmodulerepomatic.github.labelsmoduleDEFAULT_CONTENT_RULESDEFAULT_FILE_RULESCONTENT_PATTERN_RECONTENT_PATTERN_FLAGSGLOB_FLAGSINLINE_LABEL_FIELDSresolve_content_rules()resolve_file_rules()compile_content_pattern()match_content_rules()match_file_rules()labels_for_thread()serialize_inline_labels()EXTRA_LABELS_DIRextra_label_filename()LabelSourcelabel_sources()LabelConfigErrordeclared_label_names()apply_labels()
repomatic.github.outputsmodulerepomatic.github.prmoduleSTALE_PR_COMMENTSTALE_BUMP_PR_COMMENTTEMP_BRANCH_PREFIXAUTOMATION_PR_LIMITOPEN_PR_LIMITPrOperationPrSyncResultlist_open_prs_by_branch()automation_branches()behind_by()list_automation_prs()release_pr()list_changed_files()close_pr()close_open_prs_on_branch()close_stale_bump_prs()carry_pr_branch_paths()upsert_pr()
repomatic.github.pr_bodymodulerepomatic.github.release_syncmodulerepomatic.github.releasesmoduleGITHUB_API_RELEASES_URLGITHUB_API_TAG_REF_URLGITHUB_API_TAG_OBJECT_URLRELEASES_PAGE_SIZERELEASE_TAGS_CACHERELEASE_NOT_FOUND_MARKERGitHubReleasesUnavailableGitHubReleaseReleaseAssetReleaseWithAssetsget_release_tags()get_github_releases()get_releases_with_assets()dev_release_url_and_previous_version()release_review_steps()resolve_tag_to_sha()extract_version()edit_release_notes()release_exists()create_release()upload_release_files()ReleaseNotesRequestin_bump_range()fetch_github_release_notes()
repomatic.github.runsmodulerepomatic.github.sponsormodulerepomatic.github.statusmodulerepomatic.github.threadsmodulerepomatic.github.tokenmodulerepomatic.github.unsubscribemodulerepomatic.github.urlsmodulerepomatic.github.workflow_filesmodulerepomatic.github.workflow_syncmoduleCALLER_INPUT_DEFAULTSCOOLDOWN_DOCS_URLcooldown_env_block()PERMISSION_RANKDEFAULT_VERSIONWorkflowTriggerInfocanonical_caller_permissions()extract_trigger_info()PathsSpecgenerate_thin_caller()EXTRA_JOBS_SEPARATORrender_thin_caller_for_target()GENERATED_CALLER_JOBScanonical_workflow()identify_canonical_workflow()extract_extra_jobs()extras_define_jobs()generate_workflow_header()
