Hide old comments by github-actions[bot] on pull requests

Except the latest one
This commit is contained in:
Labhansh Agrawal 2022-01-07 14:10:36 +05:30
parent f401864018
commit 1457bf1fff

View file

@ -55,3 +55,9 @@ jobs:
issue_number: ${{ steps.pr_num_reader.outputs.content }}
token: ${{ secrets.GITHUB_TOKEN }}
body: ${{ format(env.MESSAGE, env.IMG_MARKDOWN, github.repository, github.event.workflow_run.id) }}
- name: Hide older comments
uses: kanga333/comment-hider@v0.3.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
leave_visible: 1
issue_number: ${{ steps.pr_num_reader.outputs.content }}