{"id":21158230,"url":"https://github.com/simbo/changes-since-last-release-action","last_synced_at":"2025-07-09T12:33:53.876Z","repository":{"id":65161756,"uuid":"316625565","full_name":"simbo/changes-since-last-release-action","owner":"simbo","description":"A GitHub action to collect all changes to a repository since the last release.","archived":false,"fork":false,"pushed_at":"2023-12-05T09:51:39.000Z","size":8,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-17T15:53:37.164Z","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}},"created_at":"2020-11-28T00:17:17.000Z","updated_at":"2023-12-05T09:45:14.000Z","dependencies_parsed_at":"2023-12-05T10:44:52.605Z","dependency_job_id":"ff25d83f-f40b-4b8e-9002-33d2789b52c5","html_url":"https://github.com/simbo/changes-since-last-release-action","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simbo%2Fchanges-since-last-release-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simbo%2Fchanges-since-last-release-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simbo%2Fchanges-since-last-release-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simbo%2Fchanges-since-last-release-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simbo","download_url":"https://codeload.github.com/simbo/changes-since-last-release-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225551701,"owners_count":17487281,"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:18:54.251Z","updated_at":"2024-11-20T12:18:54.812Z","avatar_url":"https://github.com/simbo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \"Changes since last Release\" Action\n\n[![GitHub latest Release](https://img.shields.io/github/v/release/simbo/changes-since-last-release-action?logo=github)](https://github.com/simbo/changes-since-last-release-action/releases)\n[![Action on GitHub Marketplace](https://img.shields.io/badge/action-marketplace-orange.svg?logo=github)](https://github.com/marketplace/actions/changes-since-last-release)\n\n⚠️ ⚠️ ⚠️  \n**DEPRECATED IN FAVOR OF [simbo/changes-between-tags-action](https://github.com/simbo/changes-between-tags-action)**  \n⚠️ ⚠️ ⚠️\n\nA GitHub action to collect all changes to a repository since the last release.\n\n---\n\n\u003c!-- TOC anchorMode:github.com --\u003e\n\n- [\"Changes since last Release\" Action](#changes-since-last-release-action)\n  - [About](#about)\n  - [Usage](#usage)\n    - [Inputs](#inputs)\n    - [Outputs](#outputs)\n    - [Simple Example](#simple-example)\n    - [Example with optional Inputs](#example-with-optional-inputs)\n    - [Example together with \"Create a Release\" and \"Version Check\" Actions](#example-together-with-create-a-release-and-version-check-actions)\n  - [License](#license)\n\n\u003c!-- /TOC --\u003e\n\n---\n\n## About\n\nThis action collects all git commit messages from a git repository since the last git tag and provides them as output\nlist together with the last git tag.\n\nTo make the necessary information available, the repository needs to be checked out with tags and history.  \n(e.g. using `actions/checkout` with `fetch-depth: 0`)\n\n## Usage\n\n### Inputs\n\n| Name             | Description                                         | Type    | Default |\n| ---------------- | --------------------------------------------------- | ------- | ------- |\n| `line-prefix`    | prefix to add to every collected commit message     | String  | `\"- \"`  |\n| `include-hashes` | whether or not the commit hashes should be included | Boolean | `true`  |\n\n### Outputs\n\n| Name       | Description                                  | Type   |\n| ---------- | -------------------------------------------- | ------ |\n| `last-tag` | last tag from where on changes are collected | String |\n| `log`      | collected commit messages                    | String |\n\nIf the repository does not have any tags present, `last-tag` will be _null_ and `log` will be all prior commit messages.\n\n### Simple Example\n\n```yml\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: 🛎 Checkout\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0 # [!] we need to checkout with tags and commit history\n\n      - name: 📋 Get Commits since last Release\n        id: changes\n        uses: simbo/changes-since-last-release-action@v1\n\n      - name: 📣 Output collected Data\n        run: |\n          echo \"Changes since ${{ steps.changes.outputs.last-tag }}:\"\n          echo \"${{ steps.changes.outputs.log }}\"\n```\n\nOutput:\n\n```txt\nChanges since 0.1.0:\n- 7e6b5f6 bump version\n- 4aeb444 another change\n- a7d21d6 fix something\n```\n\n### Example with optional Inputs\n\n```yml\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: 🛎 Checkout\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0 # [!] we need to checkout with tags and commit history\n\n      - name: 📋 Get Commits since last Release\n        id: changes\n        uses: simbo/changes-since-last-release-action@v1\n          with:\n            line-prefix: \"* \"\n            include-hashes: false\n\n      - name: 📣 Output collected Data\n        run: |\n          echo \"Changes since ${{ steps.changes.outputs.last-tag }}:\"\n          echo \"${{ steps.changes.outputs.log }}\"\n```\n\nOutput:\n\n```txt\nChanges since 0.1.0:\n* bump version\n* another change\n* fix something\n```\n\n### Example together with \"Create a Release\" and \"Version Check\" Actions\n\nA common usecase is to use this action's output together with the actions\n[\"Create a Release\"](https://github.com/marketplace/actions/create-a-release) and\n[\"Version Check\"](https://github.com/marketplace/actions/version-check):\n\n```yml\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: 🛎 Checkout\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0 # [!] we need to checkout with tags and commit history\n\n      - name: 👀 Check for Version Update\n        id: version\n        uses: EndBug/version-check@v1\n        with:\n          file-url: https://unpkg.com/my-awesome-package/package.json\n          static-checking: localIsNew\n\n      - name: 📋 Get Commits since last Release\n        if: steps.version.outputs.changed == 'true'\n        id: changes\n        uses: simbo/changes-since-last-release-action@v1\n\n      - name: 🎁 Create Tag and GitHub Release\n        if: steps.version.outputs.changed == 'true'\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          tag_name: ${{ steps.version.outputs.version }}\n          release_name: Release ${{ steps.version.outputs.version }}\n          body: |\n            Changes since ${{ steps.changes.outputs.last-tag }}:\n            ${{ steps.changes.outputs.log }}\n```\n\n## License\n\n[MIT \u0026copy; 2020 Simon Lepel](http://simbo.mit-license.org/2020/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimbo%2Fchanges-since-last-release-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimbo%2Fchanges-since-last-release-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimbo%2Fchanges-since-last-release-action/lists"}