Add ci for change logs #1
Workflow file for this run
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
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' |