-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (37 loc) · 1.12 KB
/
changelog.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: changelog
on:
push:
branches:
- 'master'
jobs:
create_changelog:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: install
run: |
pip install auto-changelog
- name: generate
env:
REPO: ${{github.repository}}
run: |
auto-changelog --unreleased \
--remote "https://github.com/${REPO}.git" \
--diff-url "https://github.com/${REPO}/compare/{previous}...{current}" \
--issue-url "https://github.com/${REPO}/issues/{id}"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
commit-message: "chore: changelog bump"
delete-branch: true
title: 'chore: update changelog'
body: |
Updates the changelog with the latest updates
This is raised as a draft and should be merged on the creation of a new release
labels: 'chore'
base: 'master'
branch: create-pull-request/changelog_bump
draft: true