diff --git a/.github/workflows/delete_doc_comment.yml b/.github/workflows/delete_doc_comment.yml deleted file mode 100644 index 768c348c7a..0000000000 --- a/.github/workflows/delete_doc_comment.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Delete PR documentation - -on: - workflow_run: - workflows: ["Delete doc comment trigger"] - types: - - completed - paths: - - "optimum/**.py" - - "docs/**" - - ".github/workflows/build_pr_documentation.yml" - - ".github/workflows/delete_doc_comment.yml" - -jobs: - delete: - uses: huggingface/doc-builder/.github/workflows/delete_doc_comment.yml@main - secrets: - comment_bot_token: ${{ secrets.COMMENT_BOT_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/delete_doc_comment_trigger.yml b/.github/workflows/delete_doc_comment_trigger.yml deleted file mode 100644 index f87d9bd4dc..0000000000 --- a/.github/workflows/delete_doc_comment_trigger.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: Delete doc comment trigger - -on: - pull_request: - types: [ closed ] - - -jobs: - delete: - uses: huggingface/doc-builder/.github/workflows/delete_doc_comment_trigger.yml@main - with: - pr_number: ${{ github.event.number }}