{"id":21158338,"url":"https://github.com/simbo/changes-between-tags-action","last_synced_at":"2025-03-14T15:27:19.234Z","repository":{"id":210669506,"uuid":"722928798","full_name":"simbo/changes-between-tags-action","owner":"simbo","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-05T09:31:15.000Z","size":20,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-21T09:09:24.871Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/simbo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-11-24T09:31:48.000Z","updated_at":"2024-12-05T08:12:46.000Z","dependencies_parsed_at":"2024-11-20T21:31:11.384Z","dependency_job_id":null,"html_url":"https://github.com/simbo/changes-between-tags-action","commit_stats":null,"previous_names":["simbo/changes-between-tags-action"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simbo%2Fchanges-between-tags-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simbo%2Fchanges-between-tags-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simbo%2Fchanges-between-tags-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simbo%2Fchanges-between-tags-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simbo","download_url":"https://codeload.github.com/simbo/changes-between-tags-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243599846,"owners_count":20317180,"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":[],"created_at":"2024-11-20T12:20:33.018Z","updated_at":"2025-03-14T15:27:19.196Z","avatar_url":"https://github.com/simbo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \"Changes between Tags\" Action\n\n[![Action on GitHub Marketplace](https://img.shields.io/badge/action-marketplace-orange.svg?logo=github)](https://github.com/marketplace/actions/changes-between-tags)\n[![GitHub latest Release](https://img.shields.io/github/v/release/simbo/changes-between-tags-action?logo=github)](https://github.com/simbo/changes-between-tags-action/releases)\n\nA GitHub action to collect all changes between two git tags and provides them\nfor further usage in a release description, a changelog entry or something\nsimilar.\n\n---\n\n\u003c!-- TOC depthFrom:2 anchorMode:github.com --\u003e\n\n- [About](#about)\n- [Usage](#usage)\n  - [Inputs](#inputs)\n  - [Outputs](#outputs)\n  - [Example](#example)\n- [License](#license)\n\n\u003c!-- /TOC --\u003e\n\n---\n\n## About\n\nThis action collects all git commit messages between two git tags and provides\nthem for further usage.\n\nIt uses the repository in the current working directory and fetches all tags\nfrom the origin remote.\n\nA regex pattern `tag-pattern` can be defined to filter tags. Matching tags will\nbe sorted and the latest two tags are taken for comparison.\n\nThe action will fail if no matching tags are found.\n\nIf only one matching tag is found, the changes from the initial commit to this\ntag will be collected.\n\nThe action is meant to be run on a\n[`push:tags`](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#running-your-workflow-only-when-a-push-of-specific-tags-occurs)\nevent.\n\n## Usage\n\n### Inputs\n\n| Name                 | Description                                                                               | Required | Default                        |\n| -------------------- | ----------------------------------------------------------------------------------------- | -------- | ------------------------------ |\n| `tag-pattern`        | the regex pattern to filter tags                                                          | No       | `'^v?[0-9]+\\.[0-9]+\\.[0-9]+$'` |\n| `validate-tag`       | whether to check if the determined latest tag is the same tag that triggered the workflow | No       | `'true'`                       |\n| `include-tag-commit` | whether to include the commit with the current tag                                        | No       | `'true'`                       |\n| `include-hashes`     | whether or not each commit message should be prefixed with the corresponding hash         | No       | `'true'`                       |\n| `line-prefix`        | the prefix to add to every listed commit                                                  | No       | `'- '`                         |\n\n### Outputs\n\n| Name      | Description                                         |\n| --------- | --------------------------------------------------- |\n| `changes` | collected changes as multiline string               |\n| `tag`     | the current/latest tag that was used for comparison |\n| `ref`     | the git reference that the tag was compared with    |\n\n### Example\n\n```yml\non:\n  push:\n    tags:\n      - v*\n\njobs:\n  ci:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: 🛎 Checkout\n        uses: actions/checkout@v4\n        with:\n          # you need full history to collect changes correctly\n          fetch-depth: 0\n\n      - name: 📋 Get Changes between Tags\n        id: changes\n        uses: simbo/changes-between-tags-action@v1\n\n      - name: 📣 Output Data\n        run: |\n          echo \"tag: ${{ steps.changes.outputs.tag }}\"\n          echo \"changes: ${{ steps.changes.outputs.changes }}\"\n```\n\n## License\n\n[MIT \u0026copy; 2023 Simon Lepel](http://simbo.mit-license.org/2023/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimbo%2Fchanges-between-tags-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimbo%2Fchanges-between-tags-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimbo%2Fchanges-between-tags-action/lists"}