Skip to content

Commit

Permalink
Update format.yml with Issue autolabel (#13210)
Browse files Browse the repository at this point in the history
Update format.yml

Signed-off-by: Glenn Jocher <[email protected]>
  • Loading branch information
glenn-jocher authored Jul 22, 2024
1 parent 8003649 commit ab64c88
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
name: Ultralytics Actions

on:
push:
branches: [main, master]
issues:
types: [opened, edited]
pull_request_target:
branches: [main, master]

Expand All @@ -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
Expand Down

0 comments on commit ab64c88

Please sign in to comment.