Skip to content

Commit

Permalink
Add ci for change logs (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-clan authored Aug 24, 2024
1 parent 179d6ef commit 486e8c8
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Change Logs

on:
pull_request_target:
branches:
- master
types:
- closed
# For manually triggering it
workflow_dispatch:
inputs:
number:
description: PR number
required: true

jobs:
latest-changes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
- uses: docker://tiangolo/latest-changes:0.3.0
with:
token: ${{ secrets.GH_TOKEN }}
latest_changes_file: docs/changelog.md
latest_changes_header: '# Change Logs'
1 change: 1 addition & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Change Logs

0 comments on commit 486e8c8

Please sign in to comment.