Update format.yml with Issue autolabel (#13210)
Update format.yml Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>pull/13200/head^2
parent
8003649c79
commit
ab64c8814a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue