-
Notifications
You must be signed in to change notification settings - Fork 20
51 lines (46 loc) · 1.5 KB
/
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
44
45
46
47
48
49
50
51
name: Update Changelog
concurrency: ci-aio-lib-java
on:
push:
branches:
- main
workflow_dispatch:
workflow_run:
workflows: ["Update Docs"]
types:
- completed
jobs:
changelog:
runs-on: ubuntu-latest
if: github.repository == 'adobe/aio-lib-java' && github.ref == 'refs/heads/main'
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Generate Changelog
uses: heinrichreimer/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
headerLabel: "# 📑 Changelog"
breakingLabel: '### 💥 Breaking'
enhancementLabel: '### 🚀 Enhancements'
bugsLabel: '### 🐛 Bug fixes'
securityLabel: '### 🛡️ Security'
issuesLabel: '### 📁 Other issues'
prLabel: '### 📁 Other pull requests'
addSections: '{"documentation":{"prefix":"### 📖 Documentation","labels":["documentation"]},"tests":{"prefix":"### ✅ Testing","labels":["tests"]}}'
issues: false
issuesWoLabels: false
pullRequests: true
prWoLabels: true
author: true
unreleased: true
compareLink: true
stripGeneratorNotice: true
verbose: true
- name: Commit Changelog
run: |
git config user.name "GitHub Actions"
git config user.email [email protected]
git add CHANGELOG.md
git commit -m 'Update Changelog.'
git push