{"id":46051403,"url":"https://github.com/buddy/login","last_synced_at":"2026-03-01T09:02:42.860Z","repository":{"id":297420123,"uuid":"996122459","full_name":"buddy/login","owner":"buddy","description":null,"archived":false,"fork":false,"pushed_at":"2025-12-19T16:05:37.000Z","size":614,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-22T06:03:06.913Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/buddy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","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-06-04T13:41:30.000Z","updated_at":"2025-12-19T16:05:40.000Z","dependencies_parsed_at":"2025-12-12T14:04:19.259Z","dependency_job_id":null,"html_url":"https://github.com/buddy/login","commit_stats":null,"previous_names":["shipurjan/login"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/buddy/login","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buddy%2Flogin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buddy%2Flogin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buddy%2Flogin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buddy%2Flogin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buddy","download_url":"https://codeload.github.com/buddy/login/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buddy%2Flogin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29965419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T06:55:38.174Z","status":"ssl_error","status_checked_at":"2026-03-01T06:53:04.810Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2026-03-01T09:02:41.108Z","updated_at":"2026-03-01T09:02:42.846Z","avatar_url":"https://github.com/buddy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Buddy Login GitHub Action\n\nAuthenticate with Buddy CI/CD using either API key or GitHub's OIDC provider.\n\n## Usage\n\n### Method 1: API Key Authentication (Simplest)\n\n```yaml\nname: Deploy\non: [push]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Login to Buddy\n        uses: buddy/login@v1\n        with:\n          token: ${{ secrets.BUDDY_PAT }}\n          region: 'EU' # or 'AP' or 'US' (default)\n\n      - name: Use Buddy API\n        run: |\n          # API endpoint is automatically set based on region\n          # EU: https://api.eu.buddy.works\n          # US: https://api.buddy.works\n          # AP: https://api.asia.buddy.works\n          curl -H \"Authorization: Bearer $BUDDY_TOKEN\" \\\n               \"$BUDDY_API_ENDPOINT/workspaces\"\n```\n\n### Method 2: OIDC Authentication (No Stored Secrets)\n\n#### Setup\n\n1. Configure GitHub as an OIDC provider in your Buddy workspace\n2. Note the provider UUID\n3. Add to your workflow with `id-token: write` permission\n\n#### With Region (EU/AP/US)\n\n```yaml\nname: Deploy\non: [push]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      id-token: write\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Login to Buddy\n        uses: buddy/login@v1\n        with:\n          provider_id: 'c778e240-9750-4a8f-b04a-5be9045badd3'\n          region: 'EU' # or 'AP' or 'US' (default)\n\n      - name: Use Buddy API\n        run: |\n          # API endpoint is automatically set based on region\n          # EU: https://api.eu.buddy.works\n          # US: https://api.buddy.works\n          # AP: https://api.asia.buddy.works\n          curl -H \"Authorization: Bearer $BUDDY_TOKEN\" \\\n               \"$BUDDY_API_ENDPOINT/workspaces\"\n```\n\n#### With Custom API URL (On-Premise)\n\n```yaml\n- name: Login to Buddy\n  uses: buddy/login@v1\n  with:\n    provider_id: 'c778e240-9750-4a8f-b04a-5be9045badd3'\n    api_url: 'https://buddy.company.com'\n```\n\n## Inputs\n\n| Input         | Required | Description                                                                                            |\n| ------------- | -------- | ------------------------------------------------------------------------------------------------------ |\n| `token`       | Yes\\*    | Buddy PAT (Personal Access Token) required if not using OIDC. Store in GitHub Secrets. UUID v4 format. |\n| `provider_id` | Yes\\*    | UUID of your Buddy OIDC provider (required if not using token)                                         |\n| `region`      | No\\*\\*   | Buddy region: `EU`, `AP`, or `US` (default)                                                            |\n| `api_url`     | No\\*\\*   | Custom API URL for on-premise installations                                                            |\n| `audience`    | No       | OIDC audience (uses GitHub default if not set)                                                         |\n| `debug`       | No       | Enable debug logging (`true`/`false`)                                                                  |\n\n\\* Either `token` or `provider_id` must be provided  \n\\*\\* Either `region` or `api_url` must be provided\n\n## Outputs\n\n- `token` - The Buddy PAT (Personal Access Token)\n- `api_endpoint` - The Buddy API endpoint URL\n- Environment variables set:\n  - `BUDDY_TOKEN` - The API key\n  - `BUDDY_API_ENDPOINT` - The API endpoint URL\n\n## License\n\nMIT - See [LICENSE.md](LICENSE.md) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuddy%2Flogin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuddy%2Flogin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuddy%2Flogin/lists"}