Metadata-Version: 2.3
Name: pragmatiks-github-provider
Version: 6.0.0
Summary: GitHub provider for Pragmatiks
Author: Pragmatiks
Author-email: Pragmatiks <team@pragmatiks.io>
Requires-Dist: pragmatiks-sdk>=14.0.0
Requires-Dist: httpx>=0.28.0
Requires-Dist: pynacl>=1.5.0
Requires-Python: >=3.13
Description-Content-Type: text/markdown

# GitHub Provider for Pragmatiks

Manage GitHub repositories, environments, and secrets through declarative resources using the GitHub REST API.

## Resources

- **Repository** - Create and manage GitHub repositories with visibility, features, and branch settings
- **Environment** - Configure deployment environments on repositories with protection rules
- **Secret** - Manage repository-level and environment-level secrets with automatic encryption

## Renamed or transferred repositories

A resource is bound to the repository at its declared owner and repository name. When that repository is renamed or transferred, the provider treats it as absent there: it never reads, changes, or deletes the repository at its new location. Deleting the resource succeeds without touching the moved repository, and a create or update fails with a message asking you to set the owner and repository name to the new location.

## Authentication

This provider uses GitHub Personal Access Tokens (classic or fine-grained) for authentication. Generate a token at https://github.com/settings/tokens.
