Skip to content

Commit 181f5ca

Browse files
authored
remove coverage from slack notifications (#221)
1 parent a620856 commit 181f5ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/go-test-linux.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ jobs:
5959
coverage-config: ./.github/coverage/testcoverage.yaml
6060

6161
slack-notification:
62-
needs: [go-test-linux, coverage]
63-
if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.go-test-linux.outputs.status ) && contains(fromJSON('["failure", "cancelled"]'), needs.coverage.outputs.job-status ) && github.ref_name == github.event.repository.default_branch }}
62+
needs: [go-test-linux]
63+
if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.go-test-linux.outputs.status ) && github.ref_name == github.event.repository.default_branch }}
6464
secrets:
6565
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
6666
uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v2
6767
with:
68-
job-status: ${{ needs.go-test-linux.outputs.status && needs.coverage.outputs.job-status }}
68+
job-status: ${{ needs.go-test-linux.outputs.status }}

0 commit comments

Comments
 (0)