Skip to content

Commit 2767187

Browse files
Ultralytics Actions with OpenAI GPT-4 PR Summary (#77)
* Update Ultralytics Actions * Update format.yml --------- Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
1 parent 1198922 commit 2767187

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/format.yml

+8-6
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ jobs:
1717
- name: Run Ultralytics Formatting
1818
uses: ultralytics/actions@main
1919
with:
20-
token: ${{ secrets.GITHUB_TOKEN }} # automatically generated
21-
python: true
22-
docstrings: true
23-
markdown: true
24-
spelling: true
25-
links: true
20+
token: ${{ secrets.GITHUB_TOKEN }} # automatically generated, do not modify
21+
python: true # format Python code and docstrings
22+
markdown: true # format Markdown and YAML
23+
spelling: true # check spelling
24+
links: true # check broken links
25+
summary: true # print PR summary with GPT4 (requires 'openai_api_key' or 'openai_azure_api_key' and 'openai_azure_endpoint')
26+
openai_azure_api_key: ${{ secrets.OPENAI_AZURE_API_KEY }}
27+
openai_azure_endpoint: ${{ secrets.OPENAI_AZURE_ENDPOINT }}

0 commit comments

Comments
 (0)