Coder Social home page Coder Social logo

changelog-generator's Introduction

Changelog Generator

GitHub release (latest by date) Build Go Report Card Quality Gate Status

A configurable commit-based changelog generator. It finds commits since the previous release, filters them, then groups them.

Generated changelogs look similar to the changelogs generated by GoReleaser, making this action a great fit for projects where another build tool is used.

Usage

GitHub Action

Inputs

Name Description Default
output Generated changelog path.
path Path to the local git repository "."
config Path to the config file. .changelog-generator.yaml
token GitHub token used to fetch release assets. ${{ github.token }}
install-only Installs changelog-generator without running it "false"

Outputs

Name Description
changelog The generated changelog markdown.

Example

name: Release

on:
  push:
    tags:
      - "v*.*.*"

jobs:
  release:
    name: Release
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4
        with:
          fetch-depth: 0
      - name: Generate Changelog
        uses: gabe565/changelog-generator-action@v1
        id: changelog
      - name: Release
        uses: softprops/action-gh-release@v2
        with:
          body: ${{ steps.changelog.outputs.changelog }}

Configuration

Changelog Generator can be configured by committing a file to one of the paths listed below. See the config example for available configuration documentation.

Default Paths

  • .changelog-generator.yaml
  • .github/changelog-generator.yaml
  • .goreleaser.yaml.

Installation

Changelog Generator can also be installed for local generation and previews.

APT (Ubuntu, Debian)

Click to expand
  1. If you don't have it already, install the ca-certificates package

    sudo apt install ca-certificates
  2. Add gabe565 apt repository

    echo 'deb [trusted=yes] https://apt.gabe565.com /' | sudo tee /etc/apt/sources.list.d/gabe565.list
    
  3. Update apt repositories

    sudo apt update
  4. Install changelog-generator

    sudo apt install changelog-generator

RPM (CentOS, RHEL)

Click to expand
  1. If you don't have it already, install the ca-certificates package

    sudo dnf install ca-certificates
  2. Add gabe565 rpm repository to /etc/yum.repos.d/gabe565.repo

    [gabe565]
    name=gabe565
    baseurl=https://rpm.gabe565.com
    enabled=1
    gpgcheck=0
  3. Install changelog-generator

    sudo dnf install changelog-generator

AUR (Arch Linux)

Click to expand

Install changelog-generator-bin with your AUR helper of choice.

Homebrew (macOS, Linux)

Click to expand

Install changelog-generator from gabe565/homebrew-tap:

brew install gabe565/tap/changelog-generator

Manual Installation

Click to expand

Download and run the latest release binary for your system and architecture.

changelog-generator's People

Contributors

gabe565 avatar gabe565-renovate[bot] avatar dependabot[bot] avatar

Watchers

 avatar  avatar

changelog-generator's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/build.yaml
  • actions/checkout v4
  • actions/setup-go v5
  • golangci/golangci-lint-action v6
  • actions/checkout v4
  • actions/setup-go v5
  • actions/checkout v4
  • docker/setup-qemu-action v3
  • docker/setup-buildx-action v3
  • docker/login-action v3
  • actions/setup-go v5
  • actions/create-github-app-token v1
  • goreleaser/goreleaser-action v6
  • actions/upload-artifact v4
.github/workflows/publish-schema.yaml
  • actions/checkout v4
  • actions/upload-pages-artifact v3
  • actions/deploy-pages v4
.github/workflows/test-action.yaml
  • actions/checkout v4
.github/workflows/update-majorver.yaml
  • nowactions/update-majorver v1
gomod
go.mod
  • go 1.22.5
  • github.com/go-git/go-git/v5 v5.12.0
  • github.com/knadh/koanf/parsers/yaml v0.1.0
  • github.com/knadh/koanf/providers/confmap v0.1.0
  • github.com/knadh/koanf/providers/file v1.0.0
  • github.com/knadh/koanf/providers/structs v0.1.0
  • github.com/knadh/koanf/v2 v2.1.1
  • github.com/spf13/cobra v1.8.1
  • github.com/spf13/pflag v1.0.5
  • github.com/stretchr/testify v1.9.0
pre-commit
.pre-commit-config.yaml
  • TekWizely/pre-commit-golang v1.0.0-rc.1

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.