generate-changelog

December 30, 2025 ยท View on GitHub

Description

This action generates the changelog using git-cliff.

Usage

jobs:
  generate-changelog:
    runs-on: ubuntu-latest
    steps:
      - name: Check out repository
        uses: actions/checkout@v3
        with:
          fetch-depth: 0

      - name: Run generate-changelog
        id: generate-changelog
        uses: autowarefoundation/autoware-github-actions/generate-changelog@v1

      - name: Show result
        run: |
          echo "$CHANGELOG"
        env:
          CHANGELOG: ${{ steps.generate-changelog.outputs.changelog }}

Inputs

NameRequiredDescription
git-cliff-argsfalseThe arguments for the git-cliff command.
git-cliff-configfalseThe path to the git-cliff config file.
trim-version-and-datefalseWhether to trim the version and date from the changelog.
save-json-outputfalseSave the output contents to artifact in json format.

Outputs

NameDescription
changelogThe generated changelog.