9999 doc-builder push ${{ inputs.package_name }} --doc_build_repo_id "hf-doc-build/doc-build-dev" --token "${{ secrets.hf_token }}" --commit_msg "Updated with commit ${{ steps.github-context.outputs.commit_sha }} See: https://github.com/${{ inputs.repo_owner }}/${{ inputs.package_name }}/commit/${{ steps.github-context.outputs.commit_sha }}"
100100
101101 - name : Find doc comment
102- uses : peter-evans/find-comment@v2
102+ uses : peter-evans/find-comment@v4.0.0
103103 id : find_comment
104104 with :
105105 issue-number : ${{ steps.github-context.outputs.pr_number }}
@@ -120,14 +120,14 @@ jobs:
120120 - name : Create comment_bot token
121121 id : comment_bot_token
122122 if : steps.auth.outputs.method == 'github_app'
123- uses : actions/create-github-app-token@v2
123+ uses : actions/create-github-app-token@v2.2.1
124124 with :
125125 app-id : ${{ secrets.comment_bot_app_id }}
126126 private-key : ${{ secrets.comment_bot_secret_pem }}
127127 repositories : ${{ github.event.repository.name }}
128128
129129 - name : Add doc comment if not present
130- uses : thollander/actions-comment-pull-request@v2
130+ uses : thollander/actions-comment-pull-request@v3.0.1
131131 if : steps.find_comment.outputs.comment-id == ''
132132 with :
133133 message : ' The docs for this PR live [here](${{ steps.hfhub-context.outputs.hub_docs_url }}). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.'
@@ -136,7 +136,7 @@ jobs:
136136
137137 - name : Update doc comment if necessary
138138 if : github.event.action == 'reopened' && steps.find_comment.outputs.comment-id != ''
139- uses : peter-evans/create-or-update-comment@v1
139+ uses : peter-evans/create-or-update-comment@v5.0.0
140140 with :
141141 comment-id : ${{ steps.find_comment.outputs.comment-id }}
142142 token : ${{ steps.auth.outputs.method == 'comment_bot_token' && secrets.comment_bot_token || steps.comment_bot_token.outputs.token }}
0 commit comments