From 555565081bf0bb41359e9b317457730617b4c394 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sat, 8 Jun 2024 18:32:15 +0200 Subject: [PATCH 1/6] Update action.yml --- action.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/action.yml b/action.yml index b118138c..156b47b2 100644 --- a/action.yml +++ b/action.yml @@ -71,12 +71,6 @@ runs: ref: ${{ github.head_ref || github.ref }} fetch-depth: 0 - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: "3.x" - cache: "pip" # caching pip dependencies - - name: Install Dependencies # Note tomli required for codespell with pyproject.toml if: github.event.action != 'closed' From 91140f9aa21c08cfa6010c3711c90eb648e989e8 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sat, 8 Jun 2024 18:32:38 +0200 Subject: [PATCH 2/6] Update format.yml --- .github/workflows/format.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index d9e55760..67deed30 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -6,9 +6,9 @@ name: Ultralytics Actions on: push: - branches: [main, master] - pull_request: - branches: [main, master] + branches: [main] + pull_request_target: + branches: [main] # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request types: [opened, closed, synchronize, review_requested] From ee255bdef51045263631f117288262f5e87a1a2c Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sat, 8 Jun 2024 18:33:20 +0200 Subject: [PATCH 3/6] Update action.yml --- action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/action.yml b/action.yml index 156b47b2..6517405f 100644 --- a/action.yml +++ b/action.yml @@ -198,3 +198,7 @@ runs: output: ../lychee/results.md fail: true continue-on-error: false + + + + From edfa58381b23159e4b49d4b17d8276d890f589c9 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sat, 8 Jun 2024 18:33:58 +0200 Subject: [PATCH 4/6] Update format.yml --- .github/workflows/format.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 67deed30..6b14436f 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -21,7 +21,8 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} # automatically generated, do not modify python: true # format Python code and docstrings - markdown: true # format Markdown and YAML + markdown: true # format Markdown + prettier: true # format YAML spelling: false # check spelling links: false # check broken links summary: true # print PR summary with GPT4 (requires 'openai_api_key' or 'openai_azure_api_key' and 'openai_azure_endpoint') From 9d7dd1fbe48bf48e96baaa7f20ad053090a97f84 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sat, 8 Jun 2024 18:34:18 +0200 Subject: [PATCH 5/6] Update format.yml --- .github/workflows/format.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 6b14436f..e3fc94ae 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -7,7 +7,7 @@ name: Ultralytics Actions on: push: branches: [main] - pull_request_target: + pull_request: branches: [main] # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request types: [opened, closed, synchronize, review_requested] From c3a8def7d06b82778829df3c288dd48a294881e0 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sat, 8 Jun 2024 18:34:58 +0200 Subject: [PATCH 6/6] Update action.yml --- action.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/action.yml b/action.yml index 6517405f..156b47b2 100644 --- a/action.yml +++ b/action.yml @@ -198,7 +198,3 @@ runs: output: ../lychee/results.md fail: true continue-on-error: false - - - -