{"id":15325250,"url":"https://github.com/forewing/git-metadata","last_synced_at":"2026-02-22T14:19:47.985Z","repository":{"id":118761425,"uuid":"360804619","full_name":"forewing/git-metadata","owner":"forewing","description":"Extract tags, commit summary from your git repository","archived":false,"fork":false,"pushed_at":"2021-04-28T09:52:52.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T15:02:21.478Z","etag":null,"topics":["github-actions"],"latest_commit_sha":null,"homepage":"","language":null,"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/forewing.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":"2021-04-23T07:46:36.000Z","updated_at":"2022-04-22T12:37:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"3aa9d212-c15c-404e-818d-c8834c9cdcf6","html_url":"https://github.com/forewing/git-metadata","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"a29092b24e3a94f847b0d31a7537ee698dbaff43"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forewing%2Fgit-metadata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forewing%2Fgit-metadata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forewing%2Fgit-metadata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forewing%2Fgit-metadata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/forewing","download_url":"https://codeload.github.com/forewing/git-metadata/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245898331,"owners_count":20690466,"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-actions"],"created_at":"2024-10-01T09:29:54.063Z","updated_at":"2025-10-20T07:02:06.220Z","avatar_url":"https://github.com/forewing.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git Metadata Helper\n\nExtract metadata from your git repository\n\n## Usage\n\n```yml\n- name: Extract Metadata\n  uses: forewing/git-metadata@v1\n```\n\nNote: you need set `fetch-depth: 0` for checkout action to provide repository information needed by this action.\n\n```yml\n- name: Checkout\n  uses: actions/checkout@v2\n  with:\n    fetch-depth: 0\n```\n\n## Outputs\n\n| ID | Description | Exception |\n| :- | :- | :- |\n| `tag-current`         | Current tag name | \"unknown\" |\n| `tag-last`            | Last tag name | \"unknown\" |\n| `changes-since-last`  | Changes since last tag | \"nothing\" |\n| `changes-formatted`   | Markdown-Formatted version of changes-since-last | \"## Changes\\n\\n- nothing\" |\n\n\n## Integrations\n\nExample to create a beautiful release by simply pushing a git tag to remote\n\n```yml\nname: Create Release\n\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  release:\n    name: Build \u0026 Release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Extract Metadata\n        id: extract\n        uses: forewing/git-metadata@v1\n\n      - name: Release\n        uses: softprops/action-gh-release@v1\n        with:\n          body: ${{ steps.extract.outputs.changes-formatted }}\n          name: Release ${{ steps.extract.outputs.tag-current }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforewing%2Fgit-metadata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fforewing%2Fgit-metadata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforewing%2Fgit-metadata/lists"}