chore: Add meta workflows

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2022-12-21 16:06:42 -05:00
1 parent 8ff79eeded
commit ac217e8a46
6 files changed
+168

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
---
area/ansible:
- "ansible/**/*"
area/github:
- ".github/**/*"
area/kubernetes:
- "kubernetes/**/*"
area/terraform:
- "terraform/**/*"
area/templates:
- "tmpl/**/*"
+55
View File
@@ -0,0 +1,55 @@
---
# Area
- name: area/ansible
color: "72ccf3"
description: >-
Changes made in the ansible directory
- name: area/github
color: "72ccf3"
description: >-
Changes made in the github directory
- name: area/kubernetes
color: "72ccf3"
description: >-
Changes made in the kubernetes directory
- name: area/template
color: "72ccf3"
description: >-
Changes made in the tmpl directory
- name: area/terraform
color: "72ccf3"
description: >-
Changes made in the terraform directory
# Renovate
- name: renovate/ansible
color: "ffc300"
- name: renovate/container
color: "ffc300"
- name: renovate/github-action
color: "ffc300"
- name: renovate/github-release
color: "ffc300"
- name: renovate/helm
color: "ffc300"
- name: renovate/terraform
color: "ffc300"
# Semantic Type
- name: type/patch
color: "FFEC19"
- name: type/minor
color: "FF9800"
- name: type/major
color: "F6412D"
# Uncategorized
- name: bug
color: "ee0701"
- name: do-not-merge
color: "ee0701"
- name: docs
color: "F4D1B7"
- name: enhancement
color: "84b6eb"
- name: link-checker
color: "7B55D7"
- name: question
color: "cc317c"
+47
View File
@@ -0,0 +1,47 @@
name-template: "Release v$RESOLVED_VERSION"
tag-template: "v$RESOLVED_VERSION"
categories:
- title: "Community Contributions"
labels:
- "community"
- title: "Helm Chart(s)"
labels:
- "renovate/helm"
- title: "Github Actions"
labels:
- "renovate/github-action"
- title: "Container(s)"
labels:
- "renovate/container"
- title: "Features"
labels:
- "feature_request"
- "enhancement"
- title: "Bug Fixes"
labels:
- "bug"
- title: "Maintenance"
labels:
- "chore"
- "documentation"
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
change-title-escapes: '\<*_&'
exclude-labels:
- "skip-changelog"
version-resolver:
major:
labels:
- "type/major"
minor:
labels:
- "type/minor"
patch:
labels:
- "type/patch"
default: patch
template: |
## What's Changed
$CHANGES
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
+19
View File
@@ -0,0 +1,19 @@
---
name: "Meta Labeler"
on:
workflow_dispatch:
push:
branches: ["main"]
paths: [".github/labeler.yaml"]
jobs:
labeler:
name: Labeler
runs-on: ubuntu-latest
steps:
- name: Labeler
uses: actions/labeler@5c7539237e04b714afd8ad9b4aed733815b9fab4 # renovate: tag=v4.0.2
with:
configuration-path: .github/labeler.yaml
repo-token: "${{ secrets.GITHUB_TOKEN }}"
+20
View File
@@ -0,0 +1,20 @@
---
name: "Meta Sync labels"
on:
workflow_dispatch:
push:
branches: ["main"]
paths: [".github/labels.yaml"]
jobs:
labels:
name: Sync Labels
runs-on: ubuntu-latest
steps:
- name: Sync Labels
uses: EndBug/label-sync@da00f2c11fdb78e4fae44adac2fdd713778ea3e8 # renovate: tag=v2.3.2
with:
config-file: .github/labels.yaml
token: "${{ secrets.GITHUB_TOKEN }}"
delete-other-labels: true
+16
View File
@@ -0,0 +1,16 @@
---
name: "Draft Release"
on:
push:
branches: ["main"]
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@6df64e4ba4842c203c604c1f45246c5863410adb # v5.21.1
with:
config-name: release-drafter.yaml
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"