Skip to content

Commit

Permalink
Merge commit '81e2c3b'
Browse files Browse the repository at this point in the history
  • Loading branch information
wbydo committed May 17, 2023
2 parents 14260e8 + 81e2c3b commit b085717
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
- name: 'breaking'
description: Breaking Change
color: FFBE0B
- name: 'enhancement'
description: New feature or request
color: FB5607
- name: 'bug'
description: Something isn't working
color: FF006E
- name: 'maintenance'
description: Maintenance
color: C11CAD
- name: 'documentation'
description: Improvements or additions to documentation
color: 8338ec
- name: 'dependencies'
description: Pull requests that update a dependency file
color: 3a86ff
34 changes: 34 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name-template: 'v$RESOLVED_VERSION 🌈'
tag-template: 'v$RESOLVED_VERSION'
template: |
# What's Changed
$CHANGES
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
categories:
- title: '⚡️ Breaking'
label: 'breaking'
- title: '🚀 Features'
label: 'enhancement'
- title: '🐛 Bug Fixes'
label: 'bug'
- title: '🧰 Maintenance'
label: 'maintenance'
- title: '🗒 Documentation'
label: 'documentation'
- title: '⛓ Dependency Updates'
label: 'dependencies'
collapse-after: 8

version-resolver:
major:
labels:
- 'breaking'
minor:
labels:
- 'enhancement'
patch:
labels:
- 'bug'
- 'maintenance'
- 'documentation'
- 'dependencies'
20 changes: 20 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Release Drafter

on:
push:
branches:
- release
pull_request:
types:
- opened
- reopened
- synchronize

jobs:
release-drafter:
name: Release Drafter
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5.19.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16 changes: 16 additions & 0 deletions .github/workflows/sync-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Sync labels
on:
push:
paths:
- .github/labels.yml
jobs:
label-syncer:
name: Label Syncer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: micnncim/action-label-syncer@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
manifest: .github/labels.yml

0 comments on commit b085717

Please sign in to comment.