Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/add labels #27

Merged
merged 9 commits into from
Jan 10, 2024
21 changes: 21 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 1
labels:
- label: "platform"
files:
- "openbb_platform/.*"

- label: "bug"
branch: "^hotfix/.*"
files:
- "openbb_platform/.*"
- label: "platform"
branch: "^hotfix/.*"
files:
- "openbb_platform/.*"
- label: "v4"
branch: "^hotfix/.*"
files:
- "openbb_platform/.*"

- label: "enhancements"
branch: "^feature/.*"
2 changes: 1 addition & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,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 🦋
Expand Down
23 changes: 15 additions & 8 deletions .github/workflows/labels-PR.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
name: Pull Request Labels
"on":

on:
pull_request:
types: [opened, reopened, labeled, unlabeled, synchronize]

jobs:
label:
apply-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
# - uses: mheap/github-action-required-labels@v5
# 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@v5
with:
mode: exactly
count: 0
labels: "do not merge"

- name: Label OpenBB Platform PRs
uses: srvaroa/labeler@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading