Unverified Commit e493a3a5 authored by Lysandre Debut's avatar Lysandre Debut Committed by GitHub
Browse files

Fix github actions comment (#16009)

* Add issue number

* Dev
parent e7f34ccd
...@@ -74,23 +74,23 @@ jobs: ...@@ -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.' 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 }} GITHUB_TOKEN: ${{ env.WRITE }}
# - name: Find Comment - name: Find Comment
# if: github.event.action == 'reopened' if: github.event.action == 'reopened'
# uses: peter-evans/find-comment@v1 uses: peter-evans/find-comment@v1
# id: fc id: fc
# with: with:
# issue-number: ${{ env.PR_NUMBER }} issue-number: ${{ env.PR_NUMBER }}
# comment-author: HuggingFaceDocBuilder comment-author: HuggingFaceDocBuilderDev
# - name: Update comment - name: Update comment
# if: github.event.action == 'reopened' if: github.event.action == 'reopened'
# uses: peter-evans/create-or-update-comment@v1 uses: peter-evans/create-or-update-comment@v1
# with: with:
# comment-id: ${{ steps.fc.outputs.comment-id }} comment-id: ${{ steps.fc.outputs.comment-id }}
# token: ${{ env.WRITE }} token: ${{ env.WRITE }}
# edit-mode: replace edit-mode: replace
# body: | 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. 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 - name: Make documentation
env: env:
......
...@@ -44,20 +44,20 @@ jobs: ...@@ -44,20 +44,20 @@ jobs:
fi fi
shell: bash shell: bash
# - name: Find Comment - name: Find Comment
# if: ${{ always() }} if: ${{ always() }}
# uses: peter-evans/find-comment@v1 uses: peter-evans/find-comment@v1
# id: fc id: fc
# with: with:
# issue-number: ${{ env.PR_NUMBER }} issue-number: ${{ env.PR_NUMBER }}
# comment-author: HuggingFaceDocBuilder comment-author: HuggingFaceDocBuilderDev
# - name: Update comment - name: Update comment
# if: ${{ always() }} if: ${{ always() }}
# uses: peter-evans/create-or-update-comment@v1 uses: peter-evans/create-or-update-comment@v1
# with: with:
# comment-id: ${{ steps.fc.outputs.comment-id }} comment-id: ${{ steps.fc.outputs.comment-id }}
# token: ${{ env.WRITE }} token: ${{ env.WRITE }}
# edit-mode: replace edit-mode: replace
# body: | body: |
# _The documentation is not available anymore as the PR was closed or merged._ _The documentation is not available anymore as the PR was closed or merged._
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment