Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
olevitt committed Feb 7, 2024
2 parents b68c2b6 + b52167e commit abaa8a1
Show file tree
Hide file tree
Showing 4 changed files with 158 additions and 2 deletions.
60 changes: 60 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
---
# Labels names are important as they are used by Release Drafter to decide
# regarding where to record them in changelog or if to skip them.
#
# The repository labels will be automatically configured using this file and
# the GitHub Action https://github.com/marketplace/actions/github-labeler.
- name: breaking
description: Breaking Changes
color: bfd4f2
- name: bug
description: Something isn't working
color: d73a4a
- name: build
description: Build System and Dependencies
color: bfdadc
- name: ci
description: Continuous Integration
color: 4a97d6
- name: dependencies
description: Pull requests that update a dependency file
color: 0366d6
- name: documentation
description: Improvements or additions to documentation
color: 0075ca
- name: duplicate
description: This issue or pull request already exists
color: cfd3d7
- name: enhancement
description: New feature or request
color: a2eeef
- name: help wanted
description: Extra attention is needed
color: 008672
- name: invalid
description: This doesn't seem right
color: e4e669
- name: performance
description: Performance
color: "016175"
- name: question
description: Further information is requested
color: d876e3
- name: refactoring
description: Refactoring
color: ef67c4
- name: removal
description: Removals and Deprecations
color: 9ae7ea
- name: "helm-wrapper"
description: Related to the helm-wrapper library
color: 10f9fd
- name: testing
description: Testing
color: b1fc6f
- name: wontfix
description: This will not be worked on
color: ffffff
- name: security
description: Related to security
color: d81e7e
81 changes: 79 additions & 2 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,81 @@
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'

categories:
- title: ":boom: Breaking Changes"
label: "breaking"
- title: ":beetle: Fixes"
label: "bug"
- title: ":rocket: Features"
label: "enhancement"
- title: ":fire: Removals and Deprecations"
label: "removal"
- title: ":racehorse: Performance"
label: "performance"
- title: ":rotating_light: Testing"
label: "testing"
- title: ":construction_worker: Continuous Integration"
label: "ci"
- title: ":books: Documentation"
label: "documentation"
- title: ":hammer: Refactoring"
label: "refactoring"
- title: ":lipstick: Style"
label: "style"
- title: ":gift: Helm wrapper"
label: "helm-wrapper"
- title: ":package: Dependencies"
labels:
- "dependencies"
- "build"

autolabeler:
- label: 'documentation'
files:
- 'README.md'
- 'docs/**'
- label: 'bug'
branch:
- '/fix\/.+/'
title:
- '/fix/i'
- label: 'enhancement'
branch:
- '/feat\/.+/'
- label: 'refactoring'
branch:
- '/refactor\/.+/'
title:
- '/^refactor/i'
- label: 'testing'
branch:
- '/test\/.+/'
- label: 'breaking'
title:
- '/breaking change/i'
- label: 'ci'
files:
- '.github/*'
- label: 'helm-wrapper'
files:
- 'helm-wrapper/**'
- label: 'dependencies'
files:
- '**/pom.xml'

template: |
## What’s Changed
## Changes
$CHANGES
$CHANGES
version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: minor
17 changes: 17 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Labeler

on:
push:
branches:
- main

jobs:
labeler:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v3

# Reads labels from .github/labels.yml
- name: Run Labeler
uses: crazy-max/ghaction-github-labeler@v4
2 changes: 2 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,7 @@ jobs:
# with:
# config-name: my-config.yml
# disable-autolabeler: true
with:
commitish: main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit abaa8a1

Please sign in to comment.