Skip to content

Commit

Permalink
Merge pull request #32 from shunm-999/release/1.0.1
Browse files Browse the repository at this point in the history
Release 2022-05-21
  • Loading branch information
shunm-999 authored May 21, 2022
2 parents 1f5f8d5 + 2797f77 commit 3d283f0
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 11 deletions.
21 changes: 21 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
- color: d73a4a
description: Something isn't working
name: bug
- color: 0075ca
description: Improvements or additions to documentation
name: documentation
- color: cfd3d7
description: This issue or pull request already exists
name: chore
- color: a2eeef
description: New feature or request
name: enhancement
- color: 008672
description: Extra attention is needed
name: github
- color: 32a852
description: Extra attention is needed
name: refactor
- color: a85f32
description: Extra attention is needed
name: dependencies
36 changes: 26 additions & 10 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name-template: 'v$RESOLVED_VERSION 🌈'
tag-template: 'v$RESOLVED_VERSION'

categories:
- title: '🚀 Features'
labels:
- 'feature'
- title: '💪 Enhancement'
labels:
- 'enhancement'
- title: '🐛 Bug Fixes'
labels:
Expand All @@ -12,8 +15,17 @@ categories:
- 'bug'
- title: '🧰 Maintenance'
label: 'chore'
- title: '🔧 Refactoring'
label: 'refactor'
- title: '📖 Documentation'
label: 'documentation'
- title: '⛓️ Dependency update'
label: 'dependencies'

change-template: '- $TITLE @$AUTHOR (#$NUMBER)'

change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.

version-resolver:
major:
labels:
Expand All @@ -25,32 +37,36 @@ version-resolver:
labels:
- 'patch'
default: patch

template: |
## Changes
$CHANGES
autolabeler:
- label: feature
- label: 'feature'
branch:
- '/^feat(ure)?[/-].+/'
- label: bug
- label: 'bug'
branch:
- '/^fix[/-].+/'
- label: chore
- label: 'chore'
branch:
- '/^chore[/-].+/'
- label: refactor
- label: 'refactor'
branch:
- '/(refactor|refactoring)[/-].+/'
- label: documentation
- label: 'documentation'
branch:
- '/doc(umentation)[/-].+/'
files:
- '*.md'
- label: enhancement
- label: 'enhancement'
branch:
- '/(enhancement|improve)[/-].+/'
- label: github
- label: 'github'
files:
- '.github/**/*'
- label: 'dependencies'
files:
- '.github/**/*'
- '**/Deps.kt'
- 'build.gradle'
- 'app/build.gradle'
1 change: 1 addition & 0 deletions .github/workflows/git-pr-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: git-pr-release
on:
push:
branches:
- release
- release/**
- hotfix/**

Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/label-syncer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Sync labels

on:
push:
paths:
- '.github/labels.yml'
branches:
- master
jobs:
build:
name: Sync labels
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: micnncim/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 3 additions & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ name: Release Drafter
on:
push:
branches: [ main ]
# pull_request event is required only for autolabeler
pull_request:
branches: [ main ]
# Only following types are handled by the action, but one can default to all as well
types: [opened, reopened, synchronize]


# on:
Expand Down

0 comments on commit 3d283f0

Please sign in to comment.