mirror of
https://github.com/CivMC/Civ.git
synced 2026-07-18 00:20:44 +00:00
Update comment-on-pr.yaml
This commit is contained in:
@@ -49,17 +49,17 @@ jobs:
|
||||
echo "Head SHA: $HEAD_SHA"
|
||||
echo "HEAD_SHA=$HEAD_SHA" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Find Comment
|
||||
uses: peter-evans/find-comment@v2
|
||||
id: find-comment
|
||||
- name: Delete old comments
|
||||
uses: izhangzhihao/delete-comment@master
|
||||
with:
|
||||
issue-number: ${{ env.PR_NUMBER }}
|
||||
comment-author: 'github-actions[bot]'
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
delete_user_name: github-actions[bot]
|
||||
issue_number: ${{ env.PR_NUMBER }}
|
||||
|
||||
- name: Update Comment
|
||||
env:
|
||||
JOB_PATH: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ env.PREVIOUS_JOB_ID }}"
|
||||
ARTIFACT_URL: "${{ github.server_url }}/${{ github.repository }}/suites/$SUITE_ID/artifacts/$ARTIFACT_ID"
|
||||
ARTIFACT_URL: "${{ github.server_url }}/${{ github.repository }}/suites/${{ env.SUITE_ID }}/artifacts/${{ env.ARTIFACT_ID }}"
|
||||
HEAD_SHA: "${{ env.HEAD_SHA }}"
|
||||
uses: peter-evans/create-or-update-comment@v3
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user