-
Notifications
You must be signed in to change notification settings - Fork 831
42 lines (34 loc) · 978 Bytes
/
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
name: Publish changelog to master on new release
on:
release:
types: [published]
env:
GITHUB_USER: seldondev
jobs:
update-release:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout Git Commit
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git
run: |
git config --global user.name "${GITHUB_USER}"
git config --global user.email "${GITHUB_USER}@users.noreply.github.com"
- name: Configure node
uses: actions/setup-node@v4
with:
node-version: 14
- name: Install auto-changelog tool
run: |
npm install -g auto-changelog
# - name: Generate and commit changelog
# run: |
# git checkout master
# auto-changelog -l 5
# git add CHANGELOG.md && git commit -m "Updating CHANGELOG.md on master"
# git push