File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,10 +53,10 @@ jobs:
5353 result-encoding : string
5454
5555 - name : Send slack message if comment threshold is exceeded
56- if : steps.get_comments.outputs.totalComments > 20
56+ if : steps.get_comments.outputs.totalComments == 21
5757 uses : slackapi/slack-github-action@v2.1.0
5858 with :
5959 webhook : ${{ secrets.SLACK_PR_COMMENTS_WEBHOOK_URL }}
6060 webhook-type : incoming-webhook
6161 payload : |
62- "text": "Pull Request #${{ steps.get_comments.outputs.prNumber }} now has over 12 comments.\n<https://github.com/bbc/simorgh/pull/${{ steps.get_comments.outputs.prNumber }}|View Pull Request>\nCurrent comment count: ${{ steps.get_comments.outputs.totalComments }}"
62+ "text": "Pull Request #${{ steps.get_comments.outputs.prNumber }} now has over 20 comments.\n<https://github.com/bbc/simorgh/pull/${{ steps.get_comments.outputs.prNumber }}|View Pull Request>\nCurrent comment count: ${{ steps.get_comments.outputs.totalComments }}"
You can’t perform that action at this time.
0 commit comments