mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
parent
e7f34ccd4f
commit
e493a3a5e2
32
.github/workflows/build_dev_documentation.yml
vendored
32
.github/workflows/build_dev_documentation.yml
vendored
@ -74,23 +74,23 @@ jobs:
|
||||
message: 'The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_${{ env.PR_NUMBER }}). All of your documentation changes will be reflected on that endpoint.'
|
||||
GITHUB_TOKEN: ${{ env.WRITE }}
|
||||
|
||||
# - name: Find Comment
|
||||
# if: github.event.action == 'reopened'
|
||||
# uses: peter-evans/find-comment@v1
|
||||
# id: fc
|
||||
# with:
|
||||
# issue-number: ${{ env.PR_NUMBER }}
|
||||
# comment-author: HuggingFaceDocBuilder
|
||||
- name: Find Comment
|
||||
if: github.event.action == 'reopened'
|
||||
uses: peter-evans/find-comment@v1
|
||||
id: fc
|
||||
with:
|
||||
issue-number: ${{ env.PR_NUMBER }}
|
||||
comment-author: HuggingFaceDocBuilderDev
|
||||
|
||||
# - name: Update comment
|
||||
# if: github.event.action == 'reopened'
|
||||
# uses: peter-evans/create-or-update-comment@v1
|
||||
# with:
|
||||
# comment-id: ${{ steps.fc.outputs.comment-id }}
|
||||
# token: ${{ env.WRITE }}
|
||||
# edit-mode: replace
|
||||
# body: |
|
||||
# The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_${{ env.PR_NUMBER }}). All of your documentation changes will be reflected on that endpoint.
|
||||
- name: Update comment
|
||||
if: github.event.action == 'reopened'
|
||||
uses: peter-evans/create-or-update-comment@v1
|
||||
with:
|
||||
comment-id: ${{ steps.fc.outputs.comment-id }}
|
||||
token: ${{ env.WRITE }}
|
||||
edit-mode: replace
|
||||
body: |
|
||||
The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_${{ env.PR_NUMBER }}). All of your documentation changes will be reflected on that endpoint.
|
||||
|
||||
- name: Make documentation
|
||||
env:
|
||||
|
32
.github/workflows/delete_dev_documentation.yml
vendored
32
.github/workflows/delete_dev_documentation.yml
vendored
@ -44,20 +44,20 @@ jobs:
|
||||
fi
|
||||
shell: bash
|
||||
|
||||
# - name: Find Comment
|
||||
# if: ${{ always() }}
|
||||
# uses: peter-evans/find-comment@v1
|
||||
# id: fc
|
||||
# with:
|
||||
# issue-number: ${{ env.PR_NUMBER }}
|
||||
# comment-author: HuggingFaceDocBuilder
|
||||
- name: Find Comment
|
||||
if: ${{ always() }}
|
||||
uses: peter-evans/find-comment@v1
|
||||
id: fc
|
||||
with:
|
||||
issue-number: ${{ env.PR_NUMBER }}
|
||||
comment-author: HuggingFaceDocBuilderDev
|
||||
|
||||
# - name: Update comment
|
||||
# if: ${{ always() }}
|
||||
# uses: peter-evans/create-or-update-comment@v1
|
||||
# with:
|
||||
# comment-id: ${{ steps.fc.outputs.comment-id }}
|
||||
# token: ${{ env.WRITE }}
|
||||
# edit-mode: replace
|
||||
# body: |
|
||||
# _The documentation is not available anymore as the PR was closed or merged._
|
||||
- name: Update comment
|
||||
if: ${{ always() }}
|
||||
uses: peter-evans/create-or-update-comment@v1
|
||||
with:
|
||||
comment-id: ${{ steps.fc.outputs.comment-id }}
|
||||
token: ${{ env.WRITE }}
|
||||
edit-mode: replace
|
||||
body: |
|
||||
_The documentation is not available anymore as the PR was closed or merged._
|
||||
|
Loading…
Reference in New Issue
Block a user