mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-20 11:09:59 +00:00
chore(ci): minor improvement bug-report template & pr auto label (#2676)
* chore(ci): minor improvement bug-report template * chore(ci): change triggers for PR auto label
This commit is contained in:
@@ -24,7 +24,7 @@ body:
|
|||||||
- type: dropdown
|
- type: dropdown
|
||||||
id: issue-type
|
id: issue-type
|
||||||
attributes:
|
attributes:
|
||||||
label: Issue Type
|
label: Ticket Type
|
||||||
description: What kind of ticket are you opening?
|
description: What kind of ticket are you opening?
|
||||||
options:
|
options:
|
||||||
- "🐛 Bug Report (Something isn't working)"
|
- "🐛 Bug Report (Something isn't working)"
|
||||||
|
|||||||
@@ -17,7 +17,8 @@ name: Pull Request Labeler
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
# Allows labeling pull requests when they are opened or updated
|
# Allows labeling pull requests when they are opened or updated
|
||||||
pull_request:
|
# zizmor: ignore[dangerous-triggers] Needed to label PRs from forks
|
||||||
|
pull_request_target:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
types: [opened, synchronize, reopened, ready_for_review]
|
types: [opened, synchronize, reopened, ready_for_review]
|
||||||
@@ -30,7 +31,7 @@ jobs:
|
|||||||
triage:
|
triage:
|
||||||
name: Label PR
|
name: Label PR
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.repository == 'huggingface/lerobot'
|
if: github.repository == 'huggingface/lerobot' && !github.event.pull_request.draft
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/labeler@v6
|
- uses: actions/labeler@v6
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user