Skip to content

Commit

Permalink
ci: Add option to skip changelog (#5062)
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Oct 1, 2022
1 parent 1968f3f commit 3823f48
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,15 @@ categories:
- style
- test

exclude-labels:
- skip-changelog
- release

change-template: '- $TITLE (#$NUMBER)'
change-title-escapes: '\<*_&'
replacers:
# Remove conventional commits from titles
- search: '/- (build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\(.*\))?(\!)?\: /g'
- search: '/- (build|chore|ci|docs|feat|fix|perf|refactor|release|revert|style|test)(\(.*\))?(\!)?\: /g'
replace: '- '

version-resolver:
Expand All @@ -35,13 +39,13 @@ version-resolver:
autolabeler:
- label: rust
title:
- '/^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)\(.*rust.*\)/'
- '/^(build|chore|ci|docs|feat|fix|perf|refactor|release|revert|style|test)\(.*rust.*\)/'
- label: python
title:
- '/^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)\(.*python.*\)/'
- '/^(build|chore|ci|docs|feat|fix|perf|refactor|release|revert|style|test)\(.*python.*\)/'
- label: breaking
title:
- '/^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\(.*\))?\!\: /'
- '/^(build|chore|ci|docs|feat|fix|perf|refactor|release|revert|style|test)(\(.*\))?\!\: /'
- label: build
title:
- '/^build/'
Expand All @@ -66,6 +70,9 @@ autolabeler:
- label: refactor
title:
- '/^refactor/'
- label: release
title:
- '/^release/'
- label: revert
title:
- '/^revert/'
Expand Down

0 comments on commit 3823f48

Please sign in to comment.