mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-09 02:42:36 +00:00
Categorize release notes based on labels for OpenBB Platform (#5943)
* Categorize release notes based on labels for OpenBB Platform * Add environment variable for GitHub token in labels-PR.yml * Update labeler.yml to use "enhancement" label for feature branches --------- Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
This commit is contained in:
28
.github/labeler.yml
vendored
Normal file
28
.github/labeler.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
version: 1
|
||||
labels:
|
||||
- label: "platform"
|
||||
files:
|
||||
- "openbb_platform/.*"
|
||||
|
||||
- label: "v4"
|
||||
files:
|
||||
- "openbb_platform/.*"
|
||||
|
||||
- label: "bug"
|
||||
branch: "^hotfix/.*"
|
||||
files:
|
||||
- "openbb_platform/.*"
|
||||
|
||||
- label: "platform"
|
||||
branch: "^hotfix/.*"
|
||||
files:
|
||||
- "openbb_platform/.*"
|
||||
|
||||
- label: "enhancement"
|
||||
branch: "^feature/.*"
|
||||
|
||||
- label: "bug"
|
||||
branch: "^hotfix/.*"
|
||||
|
||||
- label: "docs"
|
||||
branch: "^docs/.*"
|
||||
10
.github/release-drafter.yml
vendored
10
.github/release-drafter.yml
vendored
@@ -1,5 +1,13 @@
|
||||
name-template: 'OpenBB Terminal v$NEXT_MINOR_VERSION'
|
||||
tag-template: 'v$NEXT_MINOR_VERSION'
|
||||
categories:
|
||||
- title: 🦋 OpenBB Platform Enhancements
|
||||
labels:
|
||||
- 'platform'
|
||||
- 'v4'
|
||||
- title: 🐛 OpenBB Platform Bug Fixes
|
||||
labels:
|
||||
- 'bug'
|
||||
exclude-contributors:
|
||||
- 'jmaslek'
|
||||
- 'DidierRLopes'
|
||||
@@ -25,7 +33,7 @@ template: |
|
||||
$CHANGES
|
||||
|
||||
We are proud of our community contributors and staunch supporters of open-source ecosystems.
|
||||
Help us promote our community by tagging `@openbb_finance` on Twitter with a link to your pull request,
|
||||
Help us promote our community by tagging `@openbb_finance` on X with a link to your pull request,
|
||||
and join our Discord server to chat about your contribution! We want to hear about your experience!
|
||||
|
||||
### Links 🦋
|
||||
|
||||
19
.github/workflows/labels-PR.yml
vendored
19
.github/workflows/labels-PR.yml
vendored
@@ -1,18 +1,25 @@
|
||||
name: Pull Request Labels
|
||||
"on":
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, reopened, labeled, unlabeled, synchronize]
|
||||
|
||||
jobs:
|
||||
label:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: mheap/github-action-required-labels@v1
|
||||
with:
|
||||
mode: minimum
|
||||
count: 1
|
||||
labels: "guides, bug, build, docker, docs, feat XS, feat S, feat M, feat L, feat XL, help wanted, refactor, tests, dependencies, release"
|
||||
# - uses: mheap/github-action-required-labels@v1
|
||||
# with:
|
||||
# mode: minimum
|
||||
# count: 1
|
||||
# labels: "guides, bug, build, docker, docs, feat XS, feat S, feat M, feat L, feat XL, help wanted, refactor, tests, dependencies, release"
|
||||
- uses: mheap/github-action-required-labels@v1
|
||||
with:
|
||||
mode: exactly
|
||||
count: 0
|
||||
labels: "do not merge"
|
||||
|
||||
- name: Label OpenBB Platform PRs
|
||||
uses: srvaroa/labeler@master
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user