Skip to content

Commit

Permalink
Update Ultralytics Actions with OpenAI GPT-4 PR Summary (#96)
Browse files Browse the repository at this point in the history
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
  • Loading branch information
pderrenger and glenn-jocher committed Jan 29, 2024
1 parent 869090c commit cd2fddc
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ name: Ultralytics Actions

on:
push:
branches: [main, master, develop]
branches: [main, develop]
pull_request:
branches: [main, master, develop]
branches: [main, develop]

jobs:
format:
Expand All @@ -17,12 +17,11 @@ jobs:
- name: Run Ultralytics Formatting
uses: ultralytics/actions@main
with:
token: ${{ secrets.GITHUB_TOKEN }} # automatically generated
python: true
docstrings: true
markdown: true # format markdown
token: ${{ secrets.GITHUB_TOKEN }} # automatically generated, do not modify
python: true # format Python code and docstrings
markdown: true # format Markdown and YAML
spelling: true # check spelling
links: true # validate links with lychee
summary: true # print PR summary
links: true # check broken links
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.OPENAI_AZURE_API_KEY }}
openai_azure_endpoint: ${{ secrets.OPENAI_AZURE_ENDPOINT }}

0 comments on commit cd2fddc

Please sign in to comment.