Skip to content

Commit 49c0ccb

Browse files
authored
fix: add changelog config options [skip ci]
1 parent 691293e commit 49c0ccb

File tree

3 files changed

+15
-14
lines changed

3 files changed

+15
-14
lines changed

.github/workflows/main.yml

+1-14
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,4 @@ jobs:
1818
with:
1919
node-version: ${{ matrix.node-version }}
2020
- run: npm install
21-
- run: npm test
22-
23-
automerge:
24-
name: Dependabot Auto-Merge
25-
needs: test
26-
runs-on: ubuntu-latest
27-
permissions:
28-
pull-requests: write
29-
contents: write
30-
steps:
31-
- uses: fastify/github-action-merge-dependabot@v3
32-
with:
33-
github-token: ${{ github.token }}
34-
target: minor
21+
- run: npm test

.github/workflows/release_package.yml

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ on:
66
release-type:
77
description: 'Release type (one of): patch, minor, major, prepatch, preminor, premajor, prerelease'
88
required: true
9+
type: choice
10+
default: patch
11+
options:
12+
- patch
13+
- minor
14+
- major
915

1016
permissions:
1117
contents: write

changelog-ci-config.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
pull_request_title_regex: '*'
2+
changelog_type: pull_request # or commit_message
3+
header_prefix: ""
4+
commit_changelog: true
5+
comment_changelog: true
6+
include_unlabeled_changes: true
7+
version_regex: > # example: '2.1.0 - (2022-06-17)'
8+
'?([0-9]{1,2})+[.]+([0-9]{1,2})+[.]+([0-9]{1,2})\s\-\s\(\d{1,2}-\d{1,2}-\d{4}\)'

0 commit comments

Comments
 (0)