{"id":19049337,"url":"https://github.com/a-b/gha-shepherd","last_synced_at":"2026-06-22T13:31:54.570Z","repository":{"id":242589163,"uuid":"809955900","full_name":"a-b/gha-shepherd","owner":"a-b","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-13T19:36:56.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-12T13:23:44.193Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/a-b.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-06-03T19:16:04.000Z","updated_at":"2024-06-07T04:50:09.000Z","dependencies_parsed_at":"2024-11-08T23:10:45.330Z","dependency_job_id":"aa8b458b-ec90-4c84-9803-d8a34cf89b72","html_url":"https://github.com/a-b/gha-shepherd","commit_stats":null,"previous_names":["a-b/gha-shepherd"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/a-b/gha-shepherd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-b%2Fgha-shepherd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-b%2Fgha-shepherd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-b%2Fgha-shepherd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-b%2Fgha-shepherd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a-b","download_url":"https://codeload.github.com/a-b/gha-shepherd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-b%2Fgha-shepherd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34651747,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-11-08T23:10:35.499Z","updated_at":"2026-06-22T13:31:54.539Z","avatar_url":"https://github.com/a-b.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Action for managing shepherd leases\n[![.github/workflows/test.yml](https://github.com/a-b/gha-shepherd/actions/workflows/test.yml/badge.svg)](https://github.com/a-b/gha-shepherd/actions/workflows/test.yml)\n## Usage\n\nThis action abstracts claiming and unclaiming shepherd leases.\n\n[.github/workflows/test.yml](.github/workflows/test.yml) provides a good starting point.\n\n## Development\n\n1. Open with VisualStudion Code\n   - Check if [Dev Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) extension is installed.\n1. Create [.secrets](.secrets) file with real API token.\n   - `echo \"API_TOKEN: $(shepherd create service-account gha-shepherd --json | jq -r .secret)\" \u003e\u003e .secrets`\n   - Local workflow dev runner [act](https://github.com/nektos/act) injects content of [.env](.env) and [.secrets](.secrets) into workflow execution context.\n1. Open project inside the dev container.\n1. Run `make run` to start.\n\n## Deployment\n\n1. To upload variables and secrets to the default remote repo for the current branch. **PROCEED WITH CARE** use `make repo-context-setup`. This will overwrite remote vaules with local from [.env](.env) and [.secrets](.secrets)\n\n## ADR\n\n1. Parameter validation happens inside shell script, inputs in [./action.yml] are maximum permissive.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-b%2Fgha-shepherd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa-b%2Fgha-shepherd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-b%2Fgha-shepherd/lists"}