Merge branch 'master' into master

pull/12599/head
Ultralytics Assistant 2024-08-14 20:58:08 +02:00 committed by GitHub
commit ab012d7512
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# Ultralytics YOLOv5 🚀, AGPL-3.0 license # Ultralytics 🚀 - AGPL-3.0 License https://ultralytics.com/license
# Ultralytics Actions https://github.com/ultralytics/actions # Ultralytics Actions https://github.com/ultralytics/actions
# This workflow automatically formats code and documentation in PRs to official Ultralytics standards # This workflow automatically formats code and documentation in PRs to official Ultralytics standards
@ -6,9 +6,10 @@ name: Ultralytics Actions
on: on:
issues: issues:
types: [opened, edited] types: [opened]
pull_request_target: pull_request_target:
branches: [main, master] branches: [main,master]
types: [opened, closed, synchronize, review_requested]
jobs: jobs:
format: format:
@ -20,10 +21,9 @@ jobs:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN || secrets.GITHUB_TOKEN }} # note GITHUB_TOKEN automatically generated token: ${{ secrets.PERSONAL_ACCESS_TOKEN || secrets.GITHUB_TOKEN }} # note GITHUB_TOKEN automatically generated
labels: true # autolabel issues and PRs labels: true # autolabel issues and PRs
python: true # format Python code and docstrings python: true # format Python code and docstrings
markdown: true # format Markdown prettier: true # format YAML, JSON, Markdown and CSS
prettier: true # format YAML
spelling: true # check spelling spelling: true # check spelling
links: false # check broken links links: false # check broken links
summary: true # print PR summary with GPT4 (requires 'openai_api_key' or 'openai_azure_api_key' and 'openai_azure_endpoint') summary: true # print PR summary with GPT4o (requires 'openai_api_key')
openai_azure_api_key: ${{ secrets.OPENAI_AZURE_API_KEY }} openai_azure_api_key: ${{ secrets.OPENAI_AZURE_API_KEY }}
openai_azure_endpoint: ${{ secrets.OPENAI_AZURE_ENDPOINT }} openai_azure_endpoint: ${{ secrets.OPENAI_AZURE_ENDPOINT }}