Update format.yml with Issue autolabel (#13210)

Update format.yml

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
pull/13200/head^2
Glenn Jocher 2024-07-23 00:44:02 +02:00 committed by GitHub
parent 8003649c79
commit ab64c8814a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 3 deletions

View File

@ -5,8 +5,8 @@
name: Ultralytics Actions
on:
push:
branches: [main, master]
issues:
types: [opened, edited]
pull_request_target:
branches: [main, master]
@ -17,7 +17,8 @@ jobs:
- name: Run Ultralytics Formatting
uses: ultralytics/actions@main
with:
token: ${{ secrets.GITHUB_TOKEN }} # automatically generated, do not modify
token: ${{ secrets.PERSONAL_ACCESS_TOKEN || secrets.GITHUB_TOKEN }} # note GITHUB_TOKEN automatically generated
labels: true # autolabel issues and PRs
python: true # format Python code and docstrings
markdown: true # format Markdown
prettier: true # format YAML