Skip to content

Commit

Permalink
ci: auto changelog now (#1625)
Browse files Browse the repository at this point in the history
  • Loading branch information
oilbeater committed Jun 19, 2022
1 parent fce2cf1 commit b458bf7
Show file tree
Hide file tree
Showing 3 changed files with 2,442 additions and 922 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Changelog

on:
push:
tags:
- v*

jobs:
generate_changelog:
runs-on: ubuntu-latest
name: Generate changelog
steps:
- uses: actions/checkout@v3
with:
ref: main
fetch-depth: 0
- run: git fetch --prune --prune-tags
- run: git tag -l 'v*'
- run: ./hack/changelog.sh > CHANGELOG.md
- uses: peter-evans/create-pull-request@v4
with:
title: 'docs: updated CHANGELOG.md'
commit-message: 'docs: updated CHANGELOG.md'
branch: create-pull-request/changelog
signoff: true
Loading

0 comments on commit b458bf7

Please sign in to comment.