docs: Support for Release Drafter (#1525)

This commit is contained in:
Juan Calderon-Perez
2023-09-21 10:34:34 -05:00
committed by GitHub
parent 4509c4da2a
commit bef1df92b9
6 changed files with 100 additions and 8 deletions
+1
View File
@@ -1,5 +1,6 @@
name: Bug Report
description: Report a bug in the OpenObserve
labels: ["☢️ Bug"]
body:
- type: dropdown
@@ -1,5 +1,6 @@
name: 'Feature Request'
description: Suggest a feature for OpenObserve
labels: ["✏️ Feature"]
body:
- type: dropdown
+1
View File
@@ -1,5 +1,6 @@
name: 'Docs or https://openobserve.ai/docs/ Bug Report'
description: Report an issue in OpenObserve's documentation
labels: ["📒 Documentation"]
body:
- type: textarea
+4 -8
View File
@@ -1,12 +1,8 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "" # See documentation for possible values
directory: "/" # Location of package manifests
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
labels:
- "🤖 Dependencies"
+71
View File
@@ -0,0 +1,71 @@
name-template: '$RESOLVED_VERSION'
tag-template: '$RESOLVED_VERSION'
categories:
- title: '❗ Breaking Changes:'
labels:
- '❗ Breaking Change'
- title: '🚀 New Features:'
labels:
- '✏️ Feature'
- title: '🐛 Fixes:'
labels:
- '☢️ Bug'
- title: '📚 Documentation:'
labels:
- '📒 Documentation'
- title: '🧹 Updates:'
collapse-after: 25
labels:
- '🧹 Updates'
- '🤖 Dependencies'
change-template: '- $TITLE (#$NUMBER)'
change-title-escapes: '\<*_&'
exclude-contributors:
- dependabot
- dependabot[bot]
version-resolver:
major:
labels:
- '❗ Breaking Change'
minor:
labels:
- '✏️ Feature'
patch:
labels:
- '📒 Documentation'
- '☢️ Bug'
- '🤖 Dependencies'
- '🧹 Updates'
default: patch
template: |
$CHANGES
## 🐳 Docker Images
- `public.ecr.aws/zinclabs/$REPOSITORY:latest`
- `public.ecr.aws/zinclabs/$REPOSITORY:latest-simd`
- `public.ecr.aws/zinclabs/$REPOSITORY:$RESOLVED_VERSION`
- `public.ecr.aws/zinclabs/$REPOSITORY:$RESOLVED_VERSION-simd`
**📒 Documentation**: https://openobserve.ai/docs/
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...$RESOLVED_VERSION
Thanks to $CONTRIBUTORS for making this release possible.
autolabeler:
- label: '📒 Documentation'
files:
- '*.md'
title:
- '/(docs|doc:|\[doc\]|typos|comment|documentation)/i'
- label: '☢️ Bug'
title:
- '/(fix|race|bug|missing|correct)/i'
- label: '🧹 Updates'
title:
- '/(improve|update|update|refactor|deprecated|remove|unused|test)/i'
- label: '🤖 Dependencies'
title:
- '/(bump|dependencies)/i'
- label: '✏️ Feature'
title:
- '/(feature|feat|create|implement|add)/i'
+22
View File
@@ -0,0 +1,22 @@
name: Release Drafter
on:
push:
branches:
- main
pull_request_target:
types: [opened, reopened, synchronize]
permissions:
contents: read
jobs:
update_release_draft:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}