Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add changelog from release notes #530

Merged
merged 1 commit into from
Sep 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

Loading