{"id":15436450,"url":"https://github.com/julian/named-branch-action","last_synced_at":"2026-01-27T21:16:49.021Z","repository":{"id":65158066,"uuid":"206744595","full_name":"Julian/named-branch-action","owner":"Julian","description":"hg-style named branches via a GitHub action","archived":false,"fork":false,"pushed_at":"2024-01-06T15:54:18.000Z","size":13,"stargazers_count":1,"open_issues_count":3,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-04T10:27:49.638Z","etag":null,"topics":["bot","git","github-actions","hg","mercurial"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/Julian.png","metadata":{"files":{"readme":"README.rst","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":"2019-09-06T08:02:55.000Z","updated_at":"2024-01-06T15:57:36.000Z","dependencies_parsed_at":"2024-01-06T16:43:37.015Z","dependency_job_id":"0c1a7f46-2f43-4bd1-8388-e4fa3f76f9bc","html_url":"https://github.com/Julian/named-branch-action","commit_stats":{"total_commits":25,"total_committers":1,"mean_commits":25.0,"dds":0.0,"last_synced_commit":"87367f2c85192e625aa40cc3697f355ec246a09b"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/Julian/named-branch-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julian%2Fnamed-branch-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julian%2Fnamed-branch-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julian%2Fnamed-branch-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julian%2Fnamed-branch-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Julian","download_url":"https://codeload.github.com/Julian/named-branch-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julian%2Fnamed-branch-action/sbom","scorecard":{"id":75498,"data":{"date":"2025-08-11","repo":{"name":"github.com/Julian/named-branch-action","commit":"87367f2c85192e625aa40cc3697f355ec246a09b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/25 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating alpine:3.10 to alpine:3.10@sha256:451eee8bedcb2f029756dc3e9d73bab0e7943c1ac55cff3a4861c52a0fdd3e98","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-15T04:42:40.170Z","repository_id":65158066,"created_at":"2025-08-15T04:42:40.170Z","updated_at":"2025-08-15T04:42:40.170Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28823191,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T18:44:20.126Z","status":"ssl_error","status_checked_at":"2026-01-27T18:44:09.161Z","response_time":168,"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":["bot","git","github-actions","hg","mercurial"],"created_at":"2024-10-01T18:50:45.347Z","updated_at":"2026-01-27T21:16:48.999Z","avatar_url":"https://github.com/Julian.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"==============\nNamed Branches\n==============\n\nAn implementation of `hg-style named\nbranches \u003chttps://www.mercurial-scm.org/wiki/NamedBranches\u003e`_ implemented via\n`GitHub Actions \u003chttps://github.com/features/actions\u003e`_ plus `git notes\n\u003chttps://git-scm.com/docs/git-notes\u003e`_.\n\nUsage\n-----\n\nFor the repository in question, in e.g.\n``.github/workflows/named-branches.yml``:\n\n.. code-block:: yaml\n\n    name: 'Named Branches'\n    on: push\n    permissions:\n      contents: write  # to support pushing the notes\n    jobs:\n      named-branches:\n        runs-on: ubuntu-latest\n        steps:\n          - uses: actions/checkout@v4\n            with:\n              fetch-depth: 0\n          - uses: Julian/named-branch-action@v1\n          with:\n            github_token: '${{ secrets.GITHUB_TOKEN }}'\n\nSee `action.yml \u003caction.yml\u003e`_ for full details, or `this repository \u003chttps://github.com/Julian/named-branch-action-example/\u003e`_ for a fully worked example.\n\nThen, in any local clone where you wish to see branch information, ensure you're fetching git notes from the remote via e.g.::\n\n    $ git config --add remote.origin.fetch \"+refs/notes/*:refs/notes/*\"\n\nat which point you can show the named branch alongside ``git log`` by running::\n\n    $ git log --notes=branch\n\nIf you don't use ``git notes`` for anything else (though you should!) you can set ``git config core.notesRef refs/notes/branch`` as well, which will make commands like ``git log --notes`` work without explicitly specifying which ``ref`` the notes live in.\n\nYou can also directly check where a commit came from via::\n\n    $ git notes --ref branch show 710ca11\n\nwhich will show ``refs/heads/foo`` if ``710ca11`` was committed on the ``foo`` branch.\n\nNotes\n-----\n\nThe remote repository only knows about remote branches, so if you created some commits on a local branch and then merged it into another local branch without pushing, you won't see two branches in the notes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulian%2Fnamed-branch-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjulian%2Fnamed-branch-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulian%2Fnamed-branch-action/lists"}