Skip to content

Commit 0fb1285

Browse files
committed
fix: changlog action config
1 parent 059488c commit 0fb1285

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/publish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: Publish to NPM
22
on:
33
release:
44
types: [published]
5-
workflow_dispatch:
65

76
permissions:
87
contents: write

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches:
55
- master
6+
workflow_dispatch:
67

78
jobs:
89
changelog:
@@ -11,10 +12,12 @@ jobs:
1112
- uses: actions/checkout@v2
1213
- name: Conventional Changelog Action
1314
id: changelog
14-
uses: TriPSs/conventional-changelog-action@v3.7.1
15+
uses: TriPSs/conventional-changelog-action@v5
1516
with:
1617
github-token: ${{ secrets.PA_TOKEN }}
1718
version-file: './package.json'
19+
pre-release: "true"
20+
pre-release-identifier: "beta"
1821
- name: Create Release 🏷️
1922
uses: actions/create-release@v1
2023
if: ${{ steps.changelog.outputs.skipped == 'false' }}

0 commit comments

Comments
 (0)