From 30eecdec6d83e36b2fcc65326980657198b4167e Mon Sep 17 00:00:00 2001 From: Dawid Heyman Date: Thu, 12 Oct 2023 10:06:19 +0200 Subject: [PATCH 1/2] SNOW-859636 Exclude codecov[bot] from Jira Issue comments --- .github/workflows/jira_comment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jira_comment.yml b/.github/workflows/jira_comment.yml index 954929fa6..33dbc89dd 100644 --- a/.github/workflows/jira_comment.yml +++ b/.github/workflows/jira_comment.yml @@ -23,7 +23,7 @@ jobs: echo ::set-output name=jira::$jira - name: Comment on issue uses: atlassian/gajira-comment@master - if: startsWith(steps.extract.outputs.jira, 'SNOW-') + if: startsWith(steps.extract.outputs.jira, 'SNOW-') && ${{ github.event.comment.user.login }} != 'codecov[bot]' with: issue: "${{ steps.extract.outputs.jira }}" comment: "${{ github.event.comment.user.login }} commented:\n\n${{ github.event.comment.body }}\n\n${{ github.event.comment.html_url }}" From ec850b7a349470ffa392a39f8398a04804f28c78 Mon Sep 17 00:00:00 2001 From: Dawid Heyman Date: Thu, 12 Oct 2023 12:47:25 +0200 Subject: [PATCH 2/2] SNOW-859636 Exclude codecov[bot] from Jira Issue comments --- .github/workflows/jira_comment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jira_comment.yml b/.github/workflows/jira_comment.yml index 33dbc89dd..11769c0a0 100644 --- a/.github/workflows/jira_comment.yml +++ b/.github/workflows/jira_comment.yml @@ -23,7 +23,7 @@ jobs: echo ::set-output name=jira::$jira - name: Comment on issue uses: atlassian/gajira-comment@master - if: startsWith(steps.extract.outputs.jira, 'SNOW-') && ${{ github.event.comment.user.login }} != 'codecov[bot]' + if: startsWith(steps.extract.outputs.jira, 'SNOW-') && github.event.comment.user.login != 'codecov[bot]' with: issue: "${{ steps.extract.outputs.jira }}" comment: "${{ github.event.comment.user.login }} commented:\n\n${{ github.event.comment.body }}\n\n${{ github.event.comment.html_url }}"