From 6a1a491437bafe737d2b347a9041604ad14d3b09 Mon Sep 17 00:00:00 2001 From: Dawid Heyman Date: Thu, 12 Oct 2023 10:59:14 +0200 Subject: [PATCH 1/2] test --- .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..b9d15ef06 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]' && ${{ github.event.comment.user.login }} != 'sfc-gh-dheyman-1' 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 1d2d96c9d211d810165147898af2c2ccdb1e9aa3 Mon Sep 17 00:00:00 2001 From: Dawid Heyman Date: Thu, 12 Oct 2023 14:04:44 +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 11769c0a0..7c95b410f 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]' && github.event.comment.user.login != 'sfc-gh-dheyman-1' 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 }}"