-
Notifications
You must be signed in to change notification settings - Fork 6
43 lines (38 loc) · 1.23 KB
/
ci-changelog.yaml
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: Update Changelog
on:
workflow_dispatch:
pull_request:
branches: [ "master" ] # Temporarily to test
jobs:
updateChangeLog:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Create Changelog file
run: |
make changelog
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GH_PAT }}
commit-message: Update report
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
author: ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>
signoff: true
base: master
branch: update-chglog
delete-branch: true
title: 'Changelog update for ${{ env.MONTH }}/${{ env.YEAR }}'
body: |
- Auto-generated by [create-pull-request][1]
[1]: https://github.com/peter-evans/create-pull-request
labels: |
docs
assignees: luarss
reviewers: luarss