{"id":17239056,"url":"https://github.com/binarymuse/tip-of-branch","last_synced_at":"2026-02-18T03:03:15.442Z","repository":{"id":44843109,"uuid":"189481149","full_name":"BinaryMuse/tip-of-branch","owner":"BinaryMuse","description":"A GitHub Action to ensure the triggering commit is still at the tip of a given branch","archived":false,"fork":false,"pushed_at":"2022-01-22T05:06:47.000Z","size":72,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-23T10:49:23.288Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/BinaryMuse.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}},"created_at":"2019-05-30T20:53:19.000Z","updated_at":"2022-05-08T12:01:18.000Z","dependencies_parsed_at":"2022-09-19T03:01:12.150Z","dependency_job_id":null,"html_url":"https://github.com/BinaryMuse/tip-of-branch","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/BinaryMuse/tip-of-branch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryMuse%2Ftip-of-branch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryMuse%2Ftip-of-branch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryMuse%2Ftip-of-branch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryMuse%2Ftip-of-branch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BinaryMuse","download_url":"https://codeload.github.com/BinaryMuse/tip-of-branch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryMuse%2Ftip-of-branch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29566668,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T00:47:08.760Z","status":"online","status_checked_at":"2026-02-18T02:00:09.468Z","response_time":162,"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-10-15T05:47:36.796Z","updated_at":"2026-02-18T03:03:15.415Z","avatar_url":"https://github.com/BinaryMuse.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tip-of-branch GitHub Action\n\nThis action acts as a filter for `push`-based actions to ensure that the triggering event meets the following qualifications:\n\n* The event was not generated by a branch deletion\n* The branch the triggering commit was pushed to matches one of the branches listed in the arguments\n* The triggering commit is the head of that branch at the time the action runs\n\nThis helps prevent subtle race conditions when multiple commits or PRs are committed or merged to master and multiple workflows that automatically deploy changes run simultaneously, since only the most recently created commit will pass the check.\n\n## Usage\n\nIn your workflow:\n\n```workflow\naction \"your-action\" {\n  uses = \"BinaryMuse/tip-of-branch@master\"\n  args = \"master\"\n  secrets = [ \"GITHUB_TOKEN\" ]\n}\n```\n\n`args` can be a single branch, or can be multiple branches if you want to match any of them:\n\n```workflow\naction \"your-action\" {\n  uses = \"BinaryMuse/tip-of-branch@master\"\n  args = [ \"master\", \"some-other-branch\" ]\n  secrets = [ \"GITHUB_TOKEN\" ]\n}\n```\n\nYou must include the `GITHUB_TOKEN` secret in order for the action to reach the API and ensure that the commit is still at the head of the branch.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinarymuse%2Ftip-of-branch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinarymuse%2Ftip-of-branch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinarymuse%2Ftip-of-branch/lists"}