Skip to content

Files

Latest commit

 

History

History
64 lines (46 loc) Β· 1.6 KB

README.md

File metadata and controls

64 lines (46 loc) Β· 1.6 KB

Changelog Update Action πŸŽ‰

This GitHub Action automatically updates the CHANGELOG.md file in your repository whenever a new release is published.

What does it do? 🐍

  1. It checks out your code.
  2. Sets up Python 3.x.
  3. Installs the necessary Python dependencies.
  4. Runs a Python script that fetches the details of the newly published release and updates the CHANGELOG.md file accordingly.

Usage πŸ“¦

Here are 2 examples of how to use this action:

name: Update Changelog πŸŽ‰

on:
  release:
    types: [published]

jobs:
  update-changelog:
    runs-on: ubuntu-latest

    steps:
    - name: Changelog Update πŸ“„
      uses: bcsizmadia/changelog_update@main
      with:
        token: ${{ secrets.GITHUB_TOKEN }}
        commit_message: "πŸŽ‰ Update changelog for new release"
name: Update Changelog πŸŽ‰

on:
  release:
    types: [published]

jobs:
  update-changelog:
    runs-on: ubuntu-latest

    steps:
    - name: Changelog Update πŸ“„
      uses: bcsizmadia/changelog_update@main
      with:
        token: ${{ secrets.GITHUB_TOKEN }}

Inputs πŸ› οΈ

The action currently supports the following inputs:

token - required - [scope: repo] - Your GitHub token. This is used to authenticate the action and provide it with the necessary permissions to make changes to your repository.

commit_message - optional - Commit message for the update. If not provided, a default commit message will be used.