Skip to content
This repository was archived by the owner on Jun 30, 2023. It is now read-only.

Commit 54351f6

Browse files
umarali-nagoorhkantare
authored andcommitted
Writing Test Results into Slack
1 parent 564da65 commit 54351f6

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,12 @@ jobs:
4646
run: go test -v ./...
4747
env:
4848
IC_API_KEY: ${{ secrets.ACCESS_KEY }}
49+
50+
- name: Continuous Integration Results to Slack
51+
uses: 8398a7/action-slack@v2
52+
with:
53+
status: ${{ job.status }}
54+
author_name: Integration Test # default: 8398a7@action-slack
55+
env:
56+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required
57+
if: always() # Pick up events even if the job fails or is canceled.

.github/workflows/validate_terraform.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,4 @@ jobs:
4040
-
4141
name: terraform fmt check # perform format checks
4242
run: terraform fmt -list=true -write=false -check -recursive
43+

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ To provision monitoring instance
6868
# Copyright 2020 IBM
6969
#####################################################
7070
71+
72+
```hcl
7173
provider "ibm" {
7274
}
7375

0 commit comments

Comments
 (0)