Skip to content

Commit

Permalink
auto-generate changelog datacite/homepage#115
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Nov 21, 2020
1 parent b27f0f9 commit 77b49b5
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Changelog

on:
pull_request:
types: [closed]

release:
types: [published]

issues:
types: [closed, edited]

jobs:
generate_changelog:
runs-on: ubuntu-latest
name: Generate changelog
steps:
- uses: actions/checkout@v1

- name: Generate changelog
uses: charmixer/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add CHANGELOG.md && git commit -m 'Updated CHANGELOG.md'
- name: Push changes
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: 'refs/heads/master'
tags: false

0 comments on commit 77b49b5

Please sign in to comment.