{"id":34652766,"url":"https://github.com/relicta-tech/plugin-github","last_synced_at":"2026-04-26T19:31:39.552Z","repository":{"id":329208848,"uuid":"1118450341","full_name":"relicta-tech/plugin-github","owner":"relicta-tech","description":"Official GitHub plugin for Relicta - Create releases and upload assets","archived":false,"fork":false,"pushed_at":"2025-12-19T10:04:34.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-21T12:00:15.388Z","etag":null,"topics":["github","release-management","relicta","relicta-plugin"],"latest_commit_sha":null,"homepage":"https://github.com/relicta-tech/relicta","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/relicta-tech.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-17T19:20:17.000Z","updated_at":"2025-12-19T10:04:38.000Z","dependencies_parsed_at":"2025-12-21T12:00:24.507Z","dependency_job_id":null,"html_url":"https://github.com/relicta-tech/plugin-github","commit_stats":null,"previous_names":["relicta-tech/plugin-github"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/relicta-tech/plugin-github","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/relicta-tech%2Fplugin-github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/relicta-tech%2Fplugin-github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/relicta-tech%2Fplugin-github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/relicta-tech%2Fplugin-github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/relicta-tech","download_url":"https://codeload.github.com/relicta-tech/plugin-github/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/relicta-tech%2Fplugin-github/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32310804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T19:15:34.056Z","status":"ssl_error","status_checked_at":"2026-04-26T19:15:15.467Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github","release-management","relicta","relicta-plugin"],"created_at":"2025-12-24T17:58:12.201Z","updated_at":"2026-04-26T19:31:39.546Z","avatar_url":"https://github.com/relicta-tech.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# plugin-github\n\nOfficial GitHub plugin for [Relicta](https://github.com/relicta-tech/relicta) - Create GitHub releases and upload assets.\n\n## Installation\n\n```bash\nrelicta plugin install github\n```\n\nOr install from source:\n\n```bash\ngit clone https://github.com/relicta-tech/plugin-github\ncd plugin-github\ngo build -o github\nrelicta plugin install ./github\n```\n\n## Configuration\n\nAdd to your `release.config.yaml`:\n\n```yaml\nplugins:\n  - name: github\n    enabled: true\n    config:\n      # Optional: override repository (auto-detected from git remote)\n      owner: \"your-org\"\n      repo: \"your-repo\"\n\n      # Optional: create as draft release\n      draft: false\n\n      # Optional: mark as prerelease\n      prerelease: false\n\n      # Optional: use GitHub's auto-generated release notes\n      generate_release_notes: false\n\n      # Optional: files to upload as release assets\n      assets:\n        - \"dist/*.tar.gz\"\n        - \"dist/*.zip\"\n        - \"dist/checksums.txt\"\n\n      # Optional: create a discussion for the release\n      discussion_category: \"Releases\"\n```\n\n## Authentication\n\nThe plugin requires a GitHub token with `repo` permissions. Set it via:\n\n1. Environment variable (recommended):\n   ```bash\n   export GITHUB_TOKEN=ghp_xxxx\n   # or\n   export GH_TOKEN=ghp_xxxx\n   ```\n\n2. Configuration:\n   ```yaml\n   plugins:\n     - name: github\n       config:\n         token: \"ghp_xxxx\"  # Not recommended for version control\n   ```\n\n## Hooks\n\nThis plugin responds to the following hooks:\n\n| Hook | Behavior |\n|------|----------|\n| `post-publish` | Creates GitHub release and uploads assets |\n| `on-success` | Logs success message |\n| `on-error` | Acknowledges failure |\n\n## Outputs\n\nAfter execution, the plugin provides these outputs:\n\n| Output | Description |\n|--------|-------------|\n| `release_id` | GitHub release ID |\n| `release_url` | URL to the release page |\n| `tag_name` | Git tag name |\n\n## Development\n\n### Building\n\n```bash\ngo build -o github\n```\n\n### Testing with Relicta\n\n```bash\n# Install locally\nrelicta plugin install ./github\nrelicta plugin enable github\n\n# Test with dry-run\nrelicta publish --dry-run\n```\n\n### Dev mode with live reload\n\n```bash\nrelicta plugin dev --watch\n```\n\n## License\n\nMIT License - see [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frelicta-tech%2Fplugin-github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frelicta-tech%2Fplugin-github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frelicta-tech%2Fplugin-github/lists"}