GitXplorerGitXplorer
v

update-changelog

public
14 stars
3 forks
3 issues

Commits

List of commits on branch master.
Verified
af4a4aac9e47de9e022ad0ce8272adb6a2cf32e3

Merge pull request #7 from vemel/dependabot/npm_and_yarn/actions/core-1.9.1

vvemel committed 2 years ago
Verified
5ad45140283552c222dbc352639992950b32e898

Bump @actions/core from 1.2.6 to 1.9.1

ddependabot[bot] committed 2 years ago
Verified
ba9c4c2d69915ee99e465e95309d452a8ff7264a

Update dependencies

vvemel committed 3 years ago
Verified
73411ccab60844671af6c560499a0fb4134f36dc

Merge pull request #6 from vemel/dependabot/pip/pyjwt-2.4.0

vvemel committed 3 years ago
Verified
6febcb97b12db490d54a9d2255c358654e6e816b

Bump pyjwt from 1.7.1 to 2.4.0

ddependabot[bot] committed 3 years ago
Verified
dff0524374d47a57229a0e8bfb542c2f0f645577

Merge pull request #1 from vemel/dependabot/npm_and_yarn/actions/core-1.2.6

vvemel committed 4 years ago

README

The README file for this repository.

Update CHANGELOG.md Action

This Action keeps your CHANGELOG.md up to date.

Getting started

  • Create CHANGELOG.md file using keep a changelog format
  • Use the example workflow to create a PR for eash release automatically.
  • Use Keep a changelog style in your PR notes to automatically include these entries to CHANGELOG.md on release

Examples

on:
  release:
    type: published

jobs:
  comment:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Set up Python
        uses: actions/setup-python@v1
        with:
          python-version: "3.8"
      - name: Update version
        id: version
        run: |
          echo "GITHUB_REF is a tag you set for the release"
          echo "Your GitHub ref: ${GITHUB_REF}"
          VERSION=`echo "${GITHUB_REF}" | cut -f 3 -d "/"`
          echo "Preparing version ${VERSION}"
          echo "__version__ = \"${VERSION}\"" > __version__.py
          echo "##[set-output name=version;]$(echo ${VERSION})"
      - uses: vemel/update-changelog@0.0.1
        id: changelog
        with:
          version: ${{ steps.version.outputs.version }}
      - name: Create Pull Request
        uses: peter-evans/create-pull-request@v2
        with:
          commit-message: Release ${{ steps.version.outputs.version }}
          labels: release, bot
          title: "Release ${{ steps.version.outputs.version }}"
          body: |
            # Release ${{ steps.version.outputs.version }}

            Merge this PR to update your version and changelog!

            ## Included Pull Requests

            ${{ steps.changelog.outputs.pulls_list_md }}

Variables

Inputs

  • version - New product version, defaults to env VERSION
  • token - GitHub Token, defaults to env GITHUB_TOKEN
  • repository - GitHub repository name, defaults to env GITHUB_REPOSITORY
  • path - Path to the CHANGELOG.md file, defaults to ./CHANGELOG.md
  • release-marker - Case-insensitive release marker in PR title, defaults to release

Outputs

  • pulls_list_md - Generated included Pull Requests list in MarkDown format

Versioning

create_release version follows Semantic Versioning.