Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: metcalfc/changelog-generator
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.4.0
Choose a base ref
...
head repository: metcalfc/changelog-generator
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.5.0
Choose a head ref
  • 1 commit
  • 5 files changed
  • 1 contributor

Commits on Mar 17, 2025

  1. Releasing 4.5.0 for GH action security fixes.

    metcalfc authored Mar 17, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    abmusse Abdirahim Musse
    Copy the full SHA
    7613b90 View commit details
Showing with 12 additions and 12 deletions.
  1. +2 −2 .github/workflows/release.yml
  2. +5 −5 README.md
  3. +2 −2 SECURITY.md
  4. +2 −2 package-lock.json
  5. +1 −1 package.json
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v4.4.0
- 'v*' # Push events to matching v*, i.e. v1.0, v4.5.0

jobs:
release:
@@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v4
- name: Generate changelog
id: changelog
uses: metcalfc/changelog-generator@v4.4.0
uses: metcalfc/changelog-generator@v4.5.0
with:
myToken: ${{ secrets.GITHUB_TOKEN }}
- name: Create Release
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ This Action returns a markdown formatted changelog between two git references. T

I just wanted a simple way to populate the body of a GitHub Release.

<a href="https://github.com/metcalfc/changelog-generator/releases/tag/v4.4.0"><img alt="Example Release Notes" src="./release-notes.png" width="400"></a>
<a href="https://github.com/metcalfc/changelog-generator/releases/tag/v4.5.0"><img alt="Example Release Notes" src="./release-notes.png" width="400"></a>

## Inputs

@@ -47,7 +47,7 @@ First you will need to generate the changelog itself. To get the changelog betwe
```yaml
- name: Generate changelog
id: changelog
uses: metcalfc/changelog-generator@v4.4.0
uses: metcalfc/changelog-generator@v4.5.0
with:
myToken: ${{ secrets.GITHUB_TOKEN }}
```
@@ -57,7 +57,7 @@ Or, if you have two specific references you want:
```yaml
- name: Generate changelog
id: changelog
uses: metcalfc/changelog-generator@v4.4.0
uses: metcalfc/changelog-generator@v4.5.0
with:
myToken: ${{ secrets.GITHUB_TOKEN }}
head-ref: 'v0.0.2'
@@ -75,11 +75,11 @@ If you want to point to a branch containing forward slashes (https://github.com/

- name: Generate changelog
id: changelog
uses: metcalfc/changelog-generator@v4.4.0 #TODO: bump this after release
uses: metcalfc/changelog-generator@v4.5.0 #TODO: bump this after release
with:
myToken: ${{ secrets.GITHUB_TOKEN }}
head-ref: 'origin/my/branch/with/slashes' #add 'origin/` in front of your branch name
base-ref: 'v4.4.0'
base-ref: 'v4.5.0'
fetch: false
```
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -4,8 +4,8 @@

| Version | Supported |
| ------- | ------------------ |
| v4.4.0 | :white_check_mark: |
| < v4.4.0 | :x: |
| v4.5.0 | :white_check_mark: |
| < v4.5.0 | :x: |

## Reporting a Vulnerability

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "changelog-generator",
"version": "4.4.0",
"version": "4.5.0",
"description": "A GitHub Action that compares the commit differences between two branches",
"main": "dist/index.js",
"scripts": {