From f58feaaea83b17d2258d1025a72c9b832922b7a9 Mon Sep 17 00:00:00 2001 From: Hoang Do Date: Thu, 25 Apr 2024 16:02:26 +0700 Subject: [PATCH] feat(ci): Add changelog log auto update workflow (#176) Co-authored-by: github-actions --- .github/workflows/changelog.yml | 44 +++++++++++++++++ CHANGELOG.md | 88 ++++++++++++++++----------------- 2 files changed, 88 insertions(+), 44 deletions(-) create mode 100644 .github/workflows/changelog.yml diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml new file mode 100644 index 00000000..5a9a002b --- /dev/null +++ b/.github/workflows/changelog.yml @@ -0,0 +1,44 @@ +# This workflow will add a changelog to the repository when a new commit is pushed to the main branch. +# E.g., manually edit the commit message to align with conventional commit messages, such as: +# feat(database): add new indexing capabilities +# This update introduces advanced indexing options for handling complex queries more efficiently. + +name: Changelog Update + +on: + pull_request: + branches: + - main + types: [opened, synchronize, reopened] + +permissions: write-all + +jobs: + update_changelog: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: "18" + + - name: Install conventional-changelog-cli + run: npm install -g conventional-changelog-cli + + - name: Generate changelog diff + run: | + git fetch origin main:main + conventional-changelog -p angular -i CHANGELOG.md -s -r 0 > changelog_diff.md + echo "::set-output name=changelog::$(cat changelog_diff.md)" + - name: Commit and push changelog update + run: | + git config user.name 'github-actions' + git config user.email 'github-actions@github.com' + git add CHANGELOG.md + git commit -m "Update CHANGELOG.md" + git push origin HEAD:refs/heads/${{ github.head_ref }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 82513f38..b167b063 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,71 +1,71 @@ - - +### Bug Fixes + +* cleaning file descriptors ([#69](https://github.com/dymensionxyz/rollapp-evm/issues/69)) ([18f7558](https://github.com/dymensionxyz/rollapp-evm/commit/18f7558455b74ee097c525fc418375456b90bb00)) +* hotfix for ibc-go due to val-set hotfix done on hub for froopyland. ([#73](https://github.com/dymensionxyz/rollapp-evm/issues/73)) ([40c6ec4](https://github.com/dymensionxyz/rollapp-evm/commit/40c6ec4c3f899268bd93cf95dee98aa00410fe18)) -# Changelog -## Unreleased -### Improvements +# [1.0.0-beta](https://github.com/dymensionxyz/rollapp-evm/compare/v0.1.0-rc3...v1.0.0-beta) (2023-10-19) -- (deps) [#138](https://github.com/dymensionxyz/rollapp-evm/issues/138) Bumps `block-explorer-rpc-cosmos v1.0.2` & `evm-block-explorer-rpc-cosmos v1.0.2` -- (deps) [#151](https://github.com/dymensionxyz/rollapp-evm/issues/151) Bumps `block-explorer-rpc-cosmos v1.0.2` & `evm-block-explorer-rpc-cosmos v1.1.0` ### Bug Fixes -- (deps) [#142](https://github.com/dymensionxyz/rollapp-evm/issues/142) Bumps `block-explorer-rpc-cosmos v1.0.3` & `evm-block-explorer-rpc-cosmos v1.0.3` +* reverted bad deps ([#38](https://github.com/dymensionxyz/rollapp-evm/issues/38)) ([545a367](https://github.com/dymensionxyz/rollapp-evm/commit/545a367643d7b1f6e2dbdce1cdb436fdb56000fe)) + + + +# [0.1.0-rc2](https://github.com/dymensionxyz/rollapp-evm/compare/v0.1.0-rc1...v0.1.0-rc2) (2023-07-31) + + + +# 0.1.0-rc1 (2023-07-27) + + +