-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
### Changes * Added pull_request_style_check.yml to check for PR labels. * Added release_draft.yml to draft a release on each push to develop. * Updated continuous_delivery.yml to publish the release named draft. * Added release-drafter.yml to configure the output of the release drafter change log.
- Loading branch information
1 parent
fcd0896
commit 718d35c
Showing
4 changed files
with
91 additions
and
4 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,17 @@ | ||
name-template: 'Draft' | ||
template: | | ||
# What's Changed | ||
$CHANGES | ||
categories: | ||
- title: '🚀 Features' | ||
label: 'enhancement' | ||
- title: '🐛 Bug Fixes' | ||
label: 'bug' | ||
- title: '📝 Documentation' | ||
label: 'documentation' | ||
collapse-after: 5 | ||
|
||
exclude-labels: | ||
- 'skip-changelog' |
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
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,24 @@ | ||
name: Pull Request Style Check | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
- labeled | ||
- unlabeled | ||
- edited | ||
branches: | ||
- develop | ||
|
||
|
||
jobs: | ||
check_cc_labels: | ||
name: check conventional commits labels | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: danielchabr/[email protected] | ||
with: | ||
hasSome: bug, documentation, enhancement | ||
githubToken: ${{ secrets.GITHUB_TOKEN }} |
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,19 @@ | ||
name: Release Draft | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
draft_release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Draft a new release | ||
uses: release-drafter/release-drafter@v5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |