Skip to content

Commit 0aaee4c

Browse files
committed
improvement(changelog): change type of changelog
1 parent 4a5b84c commit 0aaee4c

File tree

1 file changed

+20
-10
lines changed

1 file changed

+20
-10
lines changed

.github/workflows/changelog.yml

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,21 @@
1-
name: Conventional Changelog Action
2-
uses: TriPSs/conventional-changelog-action@v1.3.0
3-
on: [push]
1+
name: CI
2+
3+
on: [push, pull_request]
44
branches: [master]
5-
with:
6-
github-token: ${{ secrets.github_token }}
7-
git-message: 'chore(release): {version}'
8-
preset: 'angular'
9-
tag-prefix: 'v'
10-
output-file: 'CHANGELOG.md'
11-
changelog-release-count: 5
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
strategy:
10+
matrix:
11+
node-version: [12.x]
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Use Node.js ${{ matrix.node-version }}
16+
uses: actions/setup-node@v1
17+
with:
18+
node-version: ${{ matrix.node-version }}
19+
- run: npx conventional-changelog -p scully -i CHANGELOG.md -s && git add CHANGELOG.md
20+
env:
21+
CI: true

0 commit comments

Comments
 (0)