From d9c5d32f4cff6c4c273d1967d5b0268e8a775bee Mon Sep 17 00:00:00 2001 From: SeeknnDestroy Date: Tue, 23 Jan 2024 21:06:17 +0300 Subject: [PATCH 1/3] add ultralytics summary github action --- .github/workflows/ultralytics-actions.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/ultralytics-actions.yml diff --git a/.github/workflows/ultralytics-actions.yml b/.github/workflows/ultralytics-actions.yml new file mode 100644 index 00000000..305dd880 --- /dev/null +++ b/.github/workflows/ultralytics-actions.yml @@ -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.OPENAI_AZURE_API_KEY }} + openai_azure_endpoint: ${{ secrets.OPENAI_AZURE_ENDPOINT }} From 12506fd8cd66fb176cca7da1ce82e9732d973ef8 Mon Sep 17 00:00:00 2001 From: SeeknnDestroy Date: Wed, 24 Jan 2024 10:34:27 +0300 Subject: [PATCH 2/3] update ultralytics actions --- .github/workflows/ultralytics-actions.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ultralytics-actions.yml b/.github/workflows/ultralytics-actions.yml index 305dd880..acb80cb4 100644 --- a/.github/workflows/ultralytics-actions.yml +++ b/.github/workflows/ultralytics-actions.yml @@ -16,5 +16,5 @@ jobs: 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.OPENAI_AZURE_API_KEY }} - openai_azure_endpoint: ${{ secrets.OPENAI_AZURE_ENDPOINT }} + openai_azure_api_key: ${{ secrets.AZURE_API_KEY }} + openai_azure_endpoint: ${{ secrets.AZURE_API_BASE }} From 0073815642958fd05299234d03d3eec6e2ecc8e9 Mon Sep 17 00:00:00 2001 From: SeeknnDestroy Date: Wed, 24 Jan 2024 11:57:42 +0300 Subject: [PATCH 3/3] update actios --- .github/workflows/ultralytics-actions.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ultralytics-actions.yml b/.github/workflows/ultralytics-actions.yml index acb80cb4..305dd880 100644 --- a/.github/workflows/ultralytics-actions.yml +++ b/.github/workflows/ultralytics-actions.yml @@ -16,5 +16,5 @@ jobs: 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 }} + openai_azure_api_key: ${{ secrets.OPENAI_AZURE_API_KEY }} + openai_azure_endpoint: ${{ secrets.OPENAI_AZURE_ENDPOINT }}