-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
102 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name-template: 'v$RESOLVED_VERSION' | ||
tag-template: 'v$RESOLVED_VERSION' | ||
change-template: '* $TITLE (#$NUMBER) by @$AUTHOR' | ||
template: | | ||
$CHANGES | ||
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION | ||
sort-direction: ascending | ||
|
||
categories: | ||
- title: '⚠️ BREAKING CHANGES' | ||
label: 'breaking' | ||
- title: '💫 Features' | ||
label: 'feature' | ||
- title: '🛠️ Bug fixes' | ||
label: 'fix' | ||
- title: '🕹️ Others' | ||
label: 'chore' | ||
|
||
version-resolver: | ||
# Major is not meant to be used at the moment. | ||
# Should be used with label breaking in the future. | ||
major: | ||
labels: | ||
- 'major' | ||
minor: | ||
labels: | ||
- 'breaking' | ||
- 'feature' | ||
- 'chore' | ||
patch: | ||
labels: | ||
- 'fix' | ||
|
||
exclude-labels: | ||
- 'skip-changelog' | ||
|
||
autolabeler: | ||
- label: 'breaking' | ||
title: | ||
- '/!:/i' | ||
- label: 'chore' | ||
title: | ||
- '/^chore/i' | ||
- label: 'fix' | ||
title: | ||
- '/^fix/i' | ||
- label: 'feature' | ||
title: | ||
- '/^feat/i' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: 'Validate PR title' | ||
|
||
on: | ||
pull_request: | ||
branches: [ main ] | ||
types: [ opened, reopened, synchronize ] | ||
|
||
permissions: | ||
pull-requests: read | ||
statuses: write | ||
|
||
jobs: | ||
main: | ||
name: Validate PR title | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Please look up the latest version from | ||
# https://github.com/amannn/action-semantic-pull-request/releases | ||
- uses: amannn/action-semantic-pull-request@v5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
types: | | ||
fix | ||
feat | ||
chore | ||
requireScope: false | ||
wip: true | ||
validateSingleCommit: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Release Drafter | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
types: [ opened, reopened, synchronize ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
update_release_draft: | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: release-drafter/release-drafter@v5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |