This repository has been archived by the owner on Sep 12, 2024. It is now read-only.
add ultralytics summary github action #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |