From ffcf5a41362591643787c40e5e24fcc6190defc8 Mon Sep 17 00:00:00 2001 From: Mishig Date: Wed, 16 Nov 2022 11:41:38 +0100 Subject: [PATCH] Revert "Update pr docs actions (#1101)" This reverts commit 99c06c82e0d104cf24347ae9d2662dd79133286a. --- .github/workflows/build_pr_documentation.yml | 5 +---- .github/workflows/delete_doc_comment.yml | 7 ++----- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_pr_documentation.yml b/.github/workflows/build_pr_documentation.yml index a8b5535d..0e0fff13 100644 --- a/.github/workflows/build_pr_documentation.yml +++ b/.github/workflows/build_pr_documentation.yml @@ -9,7 +9,7 @@ concurrency: jobs: build: - uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@use_hf_hub + uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main with: commit_sha: ${{ github.event.pull_request.head.sha }} pr_number: ${{ github.event.number }} @@ -17,6 +17,3 @@ jobs: path_to_docs: tokenizers/docs/source-doc-builder/ package_path: tokenizers/bindings/python/ install_rust: true - secrets: - token: ${{ secrets.HF_DOC_PUSH }} - comment_bot_token: ${{ secrets.HUGGINGFACE_PUSH }} diff --git a/.github/workflows/delete_doc_comment.yml b/.github/workflows/delete_doc_comment.yml index d405108c..8a0bd7e5 100644 --- a/.github/workflows/delete_doc_comment.yml +++ b/.github/workflows/delete_doc_comment.yml @@ -7,10 +7,7 @@ on: jobs: delete: - uses: huggingface/doc-builder/.github/workflows/delete_doc_comment.yml@use_hf_hub + uses: huggingface/doc-builder/.github/workflows/delete_doc_comment.yml@main with: pr_number: ${{ github.event.number }} - package: tokenizers - secrets: - token: ${{ secrets.HF_DOC_PUSH }} - comment_bot_token: ${{ secrets.HUGGINGFACE_PUSH }} \ No newline at end of file + package: tokenizers \ No newline at end of file