* move pr build into its own package * build code used is from main only for security reasons
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@v3
|
|
with:
|
|
ref: main
|
|
- uses: rhysd/changelog-from-release/action@v3
|
|
with:
|
|
file: CHANGELOG.md
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|