repomatic.github package¶
GitHub integration package: API clients, gh CLI wrapper, and helpers
for every GitHub surface repomatic touches (releases, issues, PRs, tokens,
workflows). See each submodule’s docstring for its scope.
Submodules¶
repomatic.github.actionsmoduleNULL_SHAMAX_STEP_OUTPUT_BYTESRUN_LISTING_WINDOWWorkflowEventWorkflowEvent.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
AnnotationLevelReportActionextract_workflow_filename()generate_delimiter()trim_to_budget()trim_to_byte_budget()format_multiline_output()write_output_file()format_file_output()emit_report()read_file_output()emit_annotation()get_github_event()get_event_pull_request()get_event_subject()get_default_author()get_default_number()is_pull_request()runs_created_since()workflow_runs()cancel_superseded_runs()
repomatic.github.ci_statusmodulerepomatic.github.dev_releasemodulerepomatic.github.ghmodulerepomatic.github.issuemoduleBOT_ISSUE_LABELLOCKED_CONVERSATION_MARKERLOCK_INACTIVE_DAYSLOCK_ISSUE_COMMENTLOCK_PR_COMMENTLOCK_REASONLOCK_THREADS_HEADER_DEFSLOCK_SEARCH_LIMITadd_labels()search_stale_threads()lock_thread()lock_stale_threads()list_issues()unlock_thread()run_unlocking()close_issue()reopen_issue()create_issue()update_issue()triage_issues()manage_issue_lifecycle()
repomatic.github.job_timingsmodulerepomatic.github.matrixmoduleJOB_STATE_KEYOS_AXISPYTHON_VERSION_AXISPIVOT_CELL_SEPARATORRESERVED_MATRIX_KEYWORDSstale_axis_values()MatrixMatrix.variationsMatrix.includeMatrix.excludeMatrix.matrix()Matrix.add_variation()Matrix.replace_variation_value()Matrix.remove_variation_value()Matrix.add_includes()Matrix.add_excludes()Matrix.prune()Matrix.all_variations()Matrix.product()Matrix.solve()Matrix.pivot_counts()Matrix.pivot()
repomatic.github.prmodulerepomatic.github.pr_bodymoduleGITHUB_BODY_MAX_CHARSsanitize_markdown_mentions()demote_markdown_headings()load_template()footer_opted_out()render_template()render_title()render_commit_message()template_args()template_labels()template_draft()template_docs_url()template_stem()get_template_names()generate_pr_metadata_block()generate_refresh_tip()build_release_review_steps()build_pr_body()fit_github_body()temp_body_file()
repomatic.github.release_syncmodulerepomatic.github.releasesmoduleGITHUB_API_RELEASES_URLGITHUB_API_TAG_REF_URLGITHUB_API_TAG_OBJECT_URLGITHUB_API_RELEASE_BY_TAG_URLowner_repo()GitHubReleasesUnavailableGitHubReleaseReleaseAssetReleaseWithAssetsget_github_releases()get_release_tags()get_releases_with_assets()parse_release_version()dev_release_url_and_previous_version()resolve_tag_to_sha()extract_version()edit_release_notes()get_github_release_body()fetch_github_release_notes()
repomatic.github.sponsormodulerepomatic.github.statusmodulerepomatic.github.tokenmodulerepomatic.github.unsubscribemoduleGRAPHQL_PAGE_SIZENOTIFICATION_PAGE_SIZENOTIFICATION_SUBJECT_TYPESSUBJECT_BATCH_SIZESUBJECT_STATESSUBJECT_URL_PATTERNUNSUBSCRIBE_WORKFLOWDetailRowPhase1ResultPhase1Result.cutoffPhase1Result.max_unsubscribesPhase1Result.newest_updatedPhase1Result.oldest_updatedPhase1Result.rowsPhase1Result.threads_deferredPhase1Result.threads_failedPhase1Result.threads_skipped_openPhase1Result.threads_skipped_recentPhase1Result.threads_skipped_unknownPhase1Result.threads_totalPhase1Result.threads_unsubscribed
Phase2ResultPhase2Result.cutoffPhase2Result.items_deferredPhase2Result.items_failedPhase2Result.items_not_subscribedPhase2Result.items_skipped_recentPhase2Result.items_totalPhase2Result.items_unsubscribedPhase2Result.max_unsubscribesPhase2Result.rowsPhase2Result.search_queryPhase2Result.skippedPhase2Result.skip_reason
UnsubscribeResultrender_report()unsubscribe_threads()
repomatic.github.workflow_syncmoduleCALLER_INPUT_DEFAULTSCOOLDOWN_DOCS_URLcooldown_env_block()PERMISSION_RANKDEFAULT_VERSIONWorkflowTriggerInfoLintResultworkflow_triggers()canonical_caller_permissions()extract_trigger_info()PathsSpecgenerate_thin_caller()EXTRA_JOBS_SEPARATORrender_thin_caller_for_target()GENERATED_CALLER_JOBSidentify_canonical_workflow()extract_extra_jobs()extras_define_jobs()check_has_workflow_dispatch()check_version_pinned()check_triggers_match()check_secrets_passed()generate_workflow_header()run_workflow_lint()