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 #223

Merged
merged 3 commits into from
Jan 24, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/ultralytics-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
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 }}
Loading