{"id":25637200,"url":"https://github.com/andrewarrow/workflow-poller","last_synced_at":"2026-04-30T16:32:26.177Z","repository":{"id":278958836,"uuid":"936265660","full_name":"andrewarrow/workflow-poller","owner":"andrewarrow","description":"Poll github actions every 6 seconds and add the next tag you need.","archived":false,"fork":false,"pushed_at":"2025-02-24T16:36:44.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T17:45:59.539Z","etag":null,"topics":["deploy","deployment","git-tag","git-tags","github-actions","tag","tags"],"latest_commit_sha":null,"homepage":"https://andrewarrow.dev/","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/andrewarrow.png","metadata":{"files":{"readme":"README.md","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":"2025-02-20T19:50:54.000Z","updated_at":"2025-02-24T16:36:47.000Z","dependencies_parsed_at":"2025-02-22T20:20:01.465Z","dependency_job_id":"8e8a6142-d2f7-487b-b76b-94a86e13bfad","html_url":"https://github.com/andrewarrow/workflow-poller","commit_stats":null,"previous_names":["andrewarrow/workflow-poller"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/andrewarrow/workflow-poller","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewarrow%2Fworkflow-poller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewarrow%2Fworkflow-poller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewarrow%2Fworkflow-poller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewarrow%2Fworkflow-poller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewarrow","download_url":"https://codeload.github.com/andrewarrow/workflow-poller/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewarrow%2Fworkflow-poller/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265596183,"owners_count":23794850,"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":["deploy","deployment","git-tag","git-tags","github-actions","tag","tags"],"created_at":"2025-02-23T01:19:21.121Z","updated_at":"2026-04-30T16:32:21.151Z","avatar_url":"https://github.com/andrewarrow.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# workflow-poller\n\nA little go program to poll github actions every 6 seconds looking for\n`completed` actions that match your current git HEAD SHA \n\n```\ngit rev-parse HEAD\n```\n\nEach poll returns a `map[string]bool` of the tags with your SHA now in completed\nstate.\n\nIt helps a lot to have your branch and sha in your prompt:\n\n```\nautoload -Uz vcs_info\nprecmd() {\n    vcs_info\n    if git rev-parse --is-inside-work-tree \u003e/dev/null 2\u003e\u00261; then\n        GITHEAD=$(git rev-parse --short HEAD 2\u003e/dev/null)\n    else\n        GITHEAD=\"\"\n    fi\n}\n\n# Format the vcs_info_msg_0_ variable\nzstyle ':vcs_info:git:*' formats '%F{cyan}(%b)%f'\nzstyle ':vcs_info:*' enable git\n\n# Set up the prompt with git HEAD\nsetopt prompt_subst\nPROMPT='%F{blue}%~%f ${vcs_info_msg_0_}%F{yellow}${GITHEAD:+[${GITHEAD}]}%f $ '\n```\n\nIn `main.go` you'll find sample logic to look for completed tags, and then add\nthe next needed tag.\n\nYou need three env vars:\n\n```\n os.Getenv(\"GITHUB_TOKEN\")\n os.Getenv(\"WORKFLOW_POLLER_OWNER\")\n os.Getenv(\"WORKFLOW_POLLER_REPO\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewarrow%2Fworkflow-poller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewarrow%2Fworkflow-poller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewarrow%2Fworkflow-poller/lists"}