Skip to content

Commit a8d42f0

Browse files
kopporGuilhermeRibeiroPereira
authored andcommitted
Try to delete comments using other action
1 parent 5a68ddc commit a8d42f0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/pr-comment.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,15 @@ jobs:
4545
env:
4646
GH_TOKEN: ${{ github.token }}
4747
pr_number: ${{ steps.read-pr_number.outputs.pr_number }}
48+
- name: Remove all comments by "github-actions[bot]"
49+
if: ${{ steps.read-pr_number.outputs.pr_number != '' && steps.isCrossRepository.outputs.isCrossRepository == 'true' }}
50+
uses: maheshrayas/[email protected]
51+
with:
52+
github_token: '${{ secrets.GITHUB_TOKEN }}'
53+
org: JabRef
54+
repo: jabref
55+
user: 'github-actions[bot]' #commented by the userid
56+
issue: '${{ steps.read-pr_number.outputs.pr_number }}'
4857
- name: Checkout
4958
if: ${{ steps.read-pr_number.outputs.pr_number != '' && steps.isCrossRepository.outputs.isCrossRepository == 'true' }}
5059
uses: actions/checkout@v4

0 commit comments

Comments
 (0)