{"id":18165524,"url":"https://github.com/42loco42/github-newest-tag","last_synced_at":"2025-04-07T06:19:19.983Z","repository":{"id":259215360,"uuid":"877348430","full_name":"42LoCo42/github-newest-tag","owner":"42LoCo42","description":"Get the newest tag of a GitHub repo through the GraphQL API","archived":false,"fork":false,"pushed_at":"2024-10-23T14:02:07.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-02T12:07:31.021Z","etag":null,"topics":["github-api","github-api-v4","github-graphql-api","graphql"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/42LoCo42.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"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}},"created_at":"2024-10-23T13:54:34.000Z","updated_at":"2024-10-23T14:02:15.000Z","dependencies_parsed_at":"2024-10-29T01:17:09.118Z","dependency_job_id":null,"html_url":"https://github.com/42LoCo42/github-newest-tag","commit_stats":null,"previous_names":["42loco42/github-newest-tag"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42LoCo42%2Fgithub-newest-tag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42LoCo42%2Fgithub-newest-tag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42LoCo42%2Fgithub-newest-tag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/42LoCo42%2Fgithub-newest-tag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/42LoCo42","download_url":"https://codeload.github.com/42LoCo42/github-newest-tag/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230627715,"owners_count":18255874,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-api","github-api-v4","github-graphql-api","graphql"],"created_at":"2024-11-02T12:07:34.821Z","updated_at":"2024-12-20T18:24:37.824Z","avatar_url":"https://github.com/42LoCo42.png","language":"Go","readme":"* github-newest-tag\nGet the newest tag of a GitHub repo through the GraphQL API.\n\nInspired by [[https://stackoverflow.com/a/47502810][this]] Stack Overflow answer.\n\n** Usage\n\n1. Create a new personal access token [[https://github.com/settings/tokens?type=beta][here]]\n2. =export GITHUB_TOKEN=yourtoken=\n   or put it in =.env= when using this repo's devshell\n3. =go run . 42loco42 github-newest-tag= returns =1=. yay!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F42loco42%2Fgithub-newest-tag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F42loco42%2Fgithub-newest-tag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F42loco42%2Fgithub-newest-tag/lists"}