Skip to content

Commit

Permalink
feat: workflows
Browse files Browse the repository at this point in the history
create `.github` folder and add `release-drafter.yaml` and `release.yaml` files

This is to test GitHub actions and automate workflows
  • Loading branch information
memstechtips authored Aug 2, 2024
1 parent be0c9e6 commit 135c02e
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/release-drafter.yaml
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
25 changes: 25 additions & 0 deletions .github/workflows/release.yaml
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 }}

0 comments on commit 135c02e

Please sign in to comment.