forked from memstechtips/UnattendedWinstall
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create `.github` folder and add `release-drafter.yaml` and `release.yaml` files This is to test GitHub actions and automate workflows
- Loading branch information
1 parent
be0c9e6
commit 135c02e
Showing
2 changed files
with
50 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,25 @@ | ||
name-template: 'v$NEXT_PATCH_VERSION' | ||
tag-template: 'v$NEXT_PATCH_VERSION' | ||
categories: | ||
- title: '🚀 Features' | ||
label: 'feature' | ||
keywords: | ||
- 'feat' | ||
- 'feature' | ||
- title: '🐛 Bug Fixes' | ||
label: 'bug' | ||
keywords: | ||
- 'fix' | ||
- 'bug' | ||
- title: '🛠 Maintenance' | ||
label: 'maintenance' | ||
keywords: | ||
- 'chore' | ||
- 'maintenance' | ||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)' | ||
template: | | ||
## What’s Changed | ||
$CHANGES | ||
**Full Changelog**: https://github.com/memstechtips/UnattendedWinstall/compare/$PREVIOUS_TAG...$NEW_TAG |
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,25 @@ | ||
name: Draft Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '20' | ||
|
||
- name: Install and run Release Drafter | ||
uses: release-drafter/release-drafter@v5 | ||
with: | ||
config-name: .github/release-drafter.yaml | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |