Skip to content

Commit 99283c9

Browse files
authored
Create generate-changelog.yml
Adding a github action for generating a CHANGELOG.md file automatically when a new tag is created.
1 parent 11e7db1 commit 99283c9

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Generate Changelog
2+
on:
3+
push:
4+
tags:
5+
- '*'
6+
jobs:
7+
changelog:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Generate Changelog
12+
run: |
13+
gem install github_changelog_generator
14+
github_changelog_generator \
15+
-u ${{ github.repository_owner }} \
16+
-p ${{ github.event.repository.name }} \
17+
--token ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)