Update format.yml with Issue autolabel (#13210)

Update format.yml

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
Glenn Jocher authored and GitHub committed 2024-07-23 00:44:02 +02:00
1 parent 8003649c79
commit ab64c8814a
1 file changed
+4 -3
+4 -3
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