Skip to content

Commit df48947

Browse files
committed
ci(GithubAction): add changeLog to support generated log each releases automatically
1 parent 8e04ebc commit df48947

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/changeLog.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Changelog
2+
on:
3+
release:
4+
types:
5+
- created
6+
workflow_dispatch:
7+
inputs:
8+
author:
9+
description: 'Whether add author of pull request at the end or not'
10+
required: false
11+
default: true
12+
type: boolean
13+
sinceTag:
14+
description: 'Changelog will start after specified tag'
15+
required: true
16+
type: string
17+
jobs:
18+
changelog:
19+
runs-on: ubuntu-20.04
20+
steps:
21+
- name: '✏️ Generate release changelog'
22+
uses: heinrichreimer/[email protected]
23+
with:
24+
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication
25+
token: ${{ secrets.GITHUB_TOKEN }}
26+
sinceTag: ${{ inputs.sinceTag }}
27+
- name: show current directory
28+
run: pwd
29+
- name: show current directory structure
30+
run: ls -la

0 commit comments

Comments
 (0)