-
Notifications
You must be signed in to change notification settings - Fork 917
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add changelog from release notes
Signed-off-by: Diwank Singh Tomer <diwank.singh@gmail.com>
- Loading branch information
Showing
1 changed file
with
13 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-ci@v1.1.2 | ||
# 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 | ||
|