{"id":21107331,"url":"https://github.com/ninjascl/gha-notes","last_synced_at":"2026-05-07T15:37:12.693Z","repository":{"id":119741282,"uuid":"297155112","full_name":"NinjasCL/gha-notes","owner":"NinjasCL","description":"Example Github Action Workflow for adding git-notes to the latest commit.","archived":false,"fork":false,"pushed_at":"2020-09-21T00:35:07.000Z","size":7,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-30T11:52:04.063Z","etag":null,"topics":["git","git-notes","github","github-actions","workflow"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/NinjasCL.png","metadata":{"files":{"readme":"README.adoc","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}},"created_at":"2020-09-20T20:09:51.000Z","updated_at":"2025-03-05T15:51:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"bdff919e-e83a-4626-b97d-0b539ea14be5","html_url":"https://github.com/NinjasCL/gha-notes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NinjasCL/gha-notes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NinjasCL%2Fgha-notes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NinjasCL%2Fgha-notes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NinjasCL%2Fgha-notes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NinjasCL%2Fgha-notes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NinjasCL","download_url":"https://codeload.github.com/NinjasCL/gha-notes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NinjasCL%2Fgha-notes/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260689399,"owners_count":23047039,"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":["git","git-notes","github","github-actions","workflow"],"created_at":"2024-11-20T00:38:39.019Z","updated_at":"2025-10-11T10:15:56.312Z","avatar_url":"https://github.com/NinjasCL.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Github Action Notes\n\nThis is an example of using GitHub actions\nto use the `git-notes` feature.\n\nGit notes enables you adding data to a commit without changing it's SHA. They're available since `Git 1.6.6`. They’re cool for appending notes from automated systems (like ticket or build systems) but not really for having interactive conversations with other developers.\n\nDisplaying Git notes on GitHub is no longer supported.\nBut you can store them anyway if you need to append\nadditional info to the commits.\n\n## Example Workflow\n\n```yml\nname: Example Git notes Workflow\non: [push]\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - run: |\n          git config user.name \"${GITHUB_ACTOR}\"\n          git config user.email \"${GITHUB_ACTOR}@users.noreply.github.com\"\n          git fetch origin \"refs/notes/*:refs/notes/*\"\n          git notes append -m \"Testing notes with github actions. Ref: ${GITHUB_REF} - ${GITHUB_SHA}\"\n          git push origin \"refs/notes/*\"\n```\n\n## Reference\n\n- http://web.archive.org/web/20101130123509/https://progit.org/2010/08/25/notes.html\n\n- https://github.blog/2010-08-25-git-notes-display/\n\n- http://alblue.bandlem.com/2011/11/git-tip-of-week-git-notes.html\n\n- https://git-scm.com/docs/git-notes\n\n- https://gist.github.com/topheman/ec8cde7c54e24a785e52\n\n++++\nMade with \u003ci class=\"fa fa-heart\"\u003e\u0026#9829;\u003c/i\u003e by \u003ca href=\"https://ninjas.cl\" target=\"_blank\"\u003eNinjas.cl\u003c/a\u003e.\n++++","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fninjascl%2Fgha-notes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fninjascl%2Fgha-notes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fninjascl%2Fgha-notes/lists"}