-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (31 loc) · 1021 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
name: Create changelog
on: workflow_dispatch
jobs:
create_changelog:
name: Build the changelog
runs-on: ubuntu-latest
container: registry.opensuse.org/opensuse/tumbleweed:latest
steps:
- name: Install system dependencies
run: >-
zypper in -y
tar
git
python3-pip
python3-wheel
python3-libvirt-python
python3-netifaces
- uses: actions/checkout@v3
- name: Mark directory as safe for Git
run: git config --global --add safe.directory /__w/cobbler-tftp/cobbler-tftp
- name: Install towncrier
run: pip install .[changelog]
- name: Build changelog
run: towncrier --yes
- name: Create Pull Request
# https://github.com/peter-evans/create-pull-request
uses: peter-evans/create-pull-request@v4
with:
commit-message: "[Bot] Add changelog for new version"
delete-branch: true
title: "[Bot] Add changelog for new version"