Skip to content

Commit

Permalink
feat: Add changelog from release notes
Browse files Browse the repository at this point in the history
Signed-off-by: Diwank Singh Tomer <[email protected]>
  • Loading branch information
creatorrr committed Sep 28, 2024
1 parent de2be8b commit c609595
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/changelog-ci.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
name: Changelog CI
name: Changelog on release

# TODO: This is currently not working. Need to fix it
on:
pull_request:
types: [ opened, synchronize ]
release:
types: [published]

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

steps:
# Checks-out your repository
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: dev

- name: Run Changelog CI
uses: saadmk11/changelog-[email protected]
# Generate changelog from release notes
- uses: rhysd/changelog-from-release/action@v3
with:
changelog_filename: CHANGELOG.md
# config_file: changelog-ci-config.json
file: CHANGELOG.md
github_token: ${{ secrets.GITHUB_TOKEN }}
pull_request: true

0 comments on commit c609595

Please sign in to comment.