GitHub identity plugin for Imbi (github.com / GHEC / GHES)
Project description
imbi-plugin-github
GitHub plugins for Imbi. Three flavors (github.com, GitHub Enterprise Cloud, GitHub Enterprise Server) of each plugin type so the admin UI can wire projects to the right backend.
Plugin types
| Type | Slugs |
|---|---|
| Identity | github, github-enterprise-cloud, github-enterprise-server |
| Deployment | github-deployment, github-deployment-ec, github-deployment-es |
| Lifecycle | github-lifecycle, github-lifecycle-ec, github-lifecycle-es |
Identity
Phase 1 ships the OAuth App flow only; GitHub App installation tokens are
deferred. The access token returned by the OAuth grant is passed straight
to GitHub APIs as a Bearer token, so materialize() is a no-op.
Deployment
Drives the GitHub Deployments API (POST /repos/{owner}/{repo}/deployments)
plus tag and release creation. See deployment.py for the per-environment
DEPLOYS_VIA edge contract.
Lifecycle
Reacts to project archive / unarchive by archiving the matching repo via
PATCH /repos/{owner}/{repo} with {"archived": true|false}. When the
archive_target_org option is set, archive also transfers the repo to
that org first via POST /repos/{owner}/{repo}/transfer — useful for
moving sunset projects into a dedicated "archive" org so they no longer
crowd primary-org searches.
GitHub refuses to transfer archived repos, so an already-archived source
is briefly unarchived, transferred, and re-archived at the destination.
On unarchive the plugin only flips archived back to false at the
repo's current location — it does not transfer back to the original
org.
Archiving requires admin scope on the repo; transferring additionally requires admin permission on the target organization.
Manifest options (identity)
| Option | Required | Description |
|---|---|---|
host |
GHEC/GHES | Tenant or appliance host (e.g. tenant.ghe.com, github.example.com). |
default_scopes |
no | Space-separated default OAuth scopes (default: read:user user:email). |
Credentials (identity)
| Field | Required |
|---|---|
client_id |
yes |
client_secret |
yes |
License
BSD-3-Clause.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file imbi_plugin_github-1.1.0.tar.gz.
File metadata
- Download URL: imbi_plugin_github-1.1.0.tar.gz
- Upload date:
- Size: 121.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01980c80172ddb341a23a87d1e15f992244fe9c4720681c6dfb0aeeae4e9c1b8
|
|
| MD5 |
d88188da85c0e44bf6db9fe405f9da32
|
|
| BLAKE2b-256 |
e74a482e95c3a5fa4cc58717675e8be87617052d7f1de7935b667f8c37109eec
|
Provenance
The following attestation bundles were made for imbi_plugin_github-1.1.0.tar.gz:
Publisher:
publish.yml on AWeber-Imbi/imbi-plugin-github
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
imbi_plugin_github-1.1.0.tar.gz -
Subject digest:
01980c80172ddb341a23a87d1e15f992244fe9c4720681c6dfb0aeeae4e9c1b8 - Sigstore transparency entry: 1519962842
- Sigstore integration time:
-
Permalink:
AWeber-Imbi/imbi-plugin-github@70031b2017c2f2d353d642052046fe375589de49 -
Branch / Tag:
refs/tags/1.1.0 - Owner: https://github.com/AWeber-Imbi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@70031b2017c2f2d353d642052046fe375589de49 -
Trigger Event:
release
-
Statement type:
File details
Details for the file imbi_plugin_github-1.1.0-py3-none-any.whl.
File metadata
- Download URL: imbi_plugin_github-1.1.0-py3-none-any.whl
- Upload date:
- Size: 24.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64fb1e063db32ae6a377db2f17ff93b3f2a7faf00c0633cde4ae11a4dd912d42
|
|
| MD5 |
d797803f6cb706d7e2ff4374f32a133d
|
|
| BLAKE2b-256 |
1834fa135aa8e49e0858e170fcf600baa4f612846e8023666ea2d7d3c387655a
|
Provenance
The following attestation bundles were made for imbi_plugin_github-1.1.0-py3-none-any.whl:
Publisher:
publish.yml on AWeber-Imbi/imbi-plugin-github
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
imbi_plugin_github-1.1.0-py3-none-any.whl -
Subject digest:
64fb1e063db32ae6a377db2f17ff93b3f2a7faf00c0633cde4ae11a4dd912d42 - Sigstore transparency entry: 1519962882
- Sigstore integration time:
-
Permalink:
AWeber-Imbi/imbi-plugin-github@70031b2017c2f2d353d642052046fe375589de49 -
Branch / Tag:
refs/tags/1.1.0 - Owner: https://github.com/AWeber-Imbi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@70031b2017c2f2d353d642052046fe375589de49 -
Trigger Event:
release
-
Statement type: