Skip to content

Commit

Permalink
Update format.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Ashish Kurmi <100655670+ashishkurmi@users.noreply.github.com>
  • Loading branch information
ashishkurmi authored Dec 8, 2024
1 parent 118edde commit ae273d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
types: [opened, edited]
discussion:
types: [created]
pull_request:
pull_request_target:
branches: [main]
types: [opened, closed, synchronize, review_requested]

Expand All @@ -18,9 +18,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Run Ultralytics Formatting
uses: ultralytics/actions@main
uses: ultralytics/actions@eb1201bd933b9f6096c64525ccaee3684c91bf14
with:
token: ${{ secrets._GITHUB_TOKEN || secrets.GITHUB_TOKEN}}
token: ${{ secrets._GITHUB_TOKEN }} # note GITHUB_TOKEN automatically generated
labels: true # autolabel issues and PRs
python: true # format Python code and docstrings
prettier: true # format YAML, JSON, Markdown and CSS
Expand Down

0 comments on commit ae273d7

Please sign in to comment.