diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 29012253..02bc506a 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -48,7 +48,7 @@ jobs:
continue-on-error: true
run: ruff check --fix --unsafe-fixes --select D --ignore=D100,D104,D203,D205,D212,D213,D401,D406,D407,D413 .
- name: Update Docs Reference Section and Push Changes
- if: github.event_name == 'pull_request_target'
+ continue-on-error: true
run: |
python docs/build_reference.py
git pull origin ${{ github.head_ref || github.ref }}
@@ -68,7 +68,7 @@ jobs:
python docs/build_docs.py
- name: Commit and Push Docs changes
continue-on-error: true
- if: always() && github.event_name == 'pull_request_target'
+ if: always()
run: |
git pull origin ${{ github.head_ref || github.ref }}
git add --update # only add updated files
diff --git a/docs/en/reference/nn/tasks.md b/docs/en/reference/nn/tasks.md
index 8e608885..ebfe8032 100644
--- a/docs/en/reference/nn/tasks.md
+++ b/docs/en/reference/nn/tasks.md
@@ -47,6 +47,14 @@ keywords: Ultralytics, YOLO, nn tasks, DetectionModel, PoseModel, RTDETRDetectio