- Update `actions/checkout` from v3 to v4 in workflows - Enable `allow-unsafe-pr-checkout` in `docker-build-pr.yml` to support PR builds with updated checkout version
20 lines
403 B
YAML
20 lines
403 B
YAML
name: Generate changelog
|
|
on:
|
|
release:
|
|
types: [published]
|
|
|
|
jobs:
|
|
changelog:
|
|
name: Update changelog
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
ref: main
|
|
- uses: rhysd/changelog-from-release/action@v3
|
|
with:
|
|
file: CHANGELOG.md
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|