GitHubActionsClaims#
- class gafaelfawr.models.github_actions.GitHubActionsClaims(*, sub, jti, repository, repository_id, repository_owner, repository_owner_id, job_workflow_ref, ref, environment=None, workflow_ref=None, event_name=None, actor=None, run_id=None, run_attempt=None, workflow_sha=None)#
Bases:
BaseModelClaims from a verified GitHub Actions ID token.
Only the claims used by the token exchange are modeled. Claims that the registry matches on are required; claims that are only recorded for auditing are optional, so that a change in what GitHub includes does not break the exchange. Any other claims in the token are ignored.
GitHub sends the numeric ID claims as strings, which are converted to integers here so that they can be compared to the IDs pinned in the project registry.
- Parameters:
Attributes Summary
Configuration for the model, should be a dictionary conforming to [
ConfigDict][pydantic.config.ConfigDict].Attributes Documentation