mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 19:53:14 +01:00
Merge pull request #3310 from rectorphp/autogenerate-changelog
This commit is contained in:
commit
8d2856a8bd
27
.github/workflows/update_changelog.yaml
vendored
Normal file
27
.github/workflows/update_changelog.yaml
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
name: Update Changelog
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
update_changelog:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: shivammathur/setup-php@v1
|
||||
with:
|
||||
php-version: 7.4
|
||||
coverage: none
|
||||
|
||||
- run: composer install --no-progress --ansi
|
||||
|
||||
- run: composer changelog
|
||||
|
||||
- uses: stefanzweifel/git-auto-commit-action@v2.5.0
|
||||
with:
|
||||
commit_message: Generate changelog
|
||||
branch: "master"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
x
Reference in New Issue
Block a user