Skip to content

Commit

Permalink
Change Comment Author
Browse files Browse the repository at this point in the history
  • Loading branch information
HardeepAsrani committed Dec 22, 2023
1 parent e363809 commit 4d47ad3
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions .github/workflows/create-build-url.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
uses: peter-evans/find-comment@v2
with:
issue-number: ${{ steps.get-pr-number.outputs.num }}
comment-author: pirate-bot
comment-author: github-actions[bot]
body-includes: Download QuickWP - [Download]

- name: Get comment body
Expand All @@ -84,19 +84,17 @@ jobs:
body="${body//$'\n'/'%0A'}"
echo "::set-output name=body::$body"
# - name: Create comment on PR with links to plugin builds
# if: ${{ steps.find-comment.outputs.comment-id == '' }}
# uses: peter-evans/create-or-update-comment@v2
# with:
# issue-number: ${{ steps.get-pr-number.outputs.num }}
# token: ${{ secrets.BOT_TOKEN }}
# body: ${{ steps.get-comment-body.outputs.body }}
- name: Create comment on PR with links to plugin builds
if: ${{ steps.find-comment.outputs.comment-id == '' }}
uses: peter-evans/create-or-update-comment@v2
with:
issue-number: ${{ steps.get-pr-number.outputs.num }}
body: ${{ steps.get-comment-body.outputs.body }}

# - name: Update comment on PR with links to plugin builds
# if: ${{ steps.find-comment.outputs.comment-id != '' }}
# uses: peter-evans/create-or-update-comment@v2
# with:
# comment-id: ${{ steps.find-comment.outputs.comment-id }}
# edit-mode: replace
# token: ${{ secrets.BOT_TOKEN }}
# body: ${{ steps.get-comment-body.outputs.body }}
- name: Update comment on PR with links to plugin builds
if: ${{ steps.find-comment.outputs.comment-id != '' }}
uses: peter-evans/create-or-update-comment@v2
with:
comment-id: ${{ steps.find-comment.outputs.comment-id }}
edit-mode: replace
body: ${{ steps.get-comment-body.outputs.body }}

0 comments on commit 4d47ad3

Please sign in to comment.