Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

add ultralytics summary github action #4

add ultralytics summary github action

add ultralytics summary github action #4

name: Ultralytics Actions
on:
push:
branches: [main]
pull_request:
branches: [main]
types: [opened, closed, synchronize, review_requested]
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Run Ultralytics Formatting
uses: ultralytics/actions@main
with:
token: ${{ secrets.GITHUB_TOKEN }} # automatically generated, do not modify
summary: true # print PR summary with GPT4 (requires 'openai_api_key' or 'openai_azure_api_key' and 'openai_azure_endpoint')
openai_azure_api_key: ${{ secrets.AZURE_API_KEY }}
openai_azure_endpoint: ${{ secrets.AZURE_API_BASE }}