Skip to content

Commit 3bf2e6b

Browse files
Added github action
1 parent 9cedfeb commit 3bf2e6b

File tree

3 files changed

+42
-42
lines changed

3 files changed

+42
-42
lines changed

.github/workflows/readme.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ jobs:
4141
env:
4242
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
4343

44-
# - name: 'Slack Notification'
45-
# uses: clouddrove/action-slack@v2
46-
# with:
47-
# status: ${{ job.status }}
48-
# fields: repo,author
49-
# author_name: 'CloudDrove'
50-
# env:
51-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required
52-
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required
53-
# if: always()
44+
- name: 'Slack Notification'
45+
uses: clouddrove/action-slack@v2
46+
with:
47+
status: ${{ job.status }}
48+
fields: repo,author
49+
author_name: 'CloudDrove'
50+
env:
51+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required
52+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required
53+
if: always()

.github/workflows/terratest.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ jobs:
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3434

35-
# - name: 'Slack Notification'
36-
# uses: clouddrove/action-slack@v2
37-
# with:
38-
# status: ${{ job.status }}
39-
# fields: repo,author
40-
# author_name: 'CloudDrove'
41-
# env:
42-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required
43-
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required
44-
# if: always()
35+
- name: 'Slack Notification'
36+
uses: clouddrove/action-slack@v2
37+
with:
38+
status: ${{ job.status }}
39+
fields: repo,author
40+
author_name: 'CloudDrove'
41+
env:
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required
43+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required
44+
if: always()
4545

4646
Email:
4747
name: 'Terratest for Email'
@@ -69,13 +69,13 @@ jobs:
6969
env:
7070
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7171

72-
# - name: 'Slack Notification'
73-
# uses: clouddrove/action-slack@v2
74-
# with:
75-
# status: ${{ job.status }}
76-
# fields: repo,author
77-
# author_name: 'CloudDrove'
78-
# env:
79-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required
80-
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required
81-
# if: always()
72+
- name: 'Slack Notification'
73+
uses: clouddrove/action-slack@v2
74+
with:
75+
status: ${{ job.status }}
76+
fields: repo,author
77+
author_name: 'CloudDrove'
78+
env:
79+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required
80+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required
81+
if: always()

.github/workflows/tfsec.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
- name: Clone repo
1212
uses: actions/checkout@master
1313

14-
# - name: tfsec
15-
# uses: aquasecurity/[email protected]
16-
# with:
17-
# sarif_file: tfsec.sarif
18-
# working_directory: _example
19-
# full_repo_scan: true
20-
#
21-
# - name: Upload SARIF file
22-
# uses: github/codeql-action/upload-sarif@v1
23-
# with:
24-
# # Path to SARIF file relative to the root of the repository
25-
# sarif_file: tfsec.sarif
14+
- name: tfsec
15+
uses: aquasecurity/[email protected]
16+
with:
17+
sarif_file: tfsec.sarif
18+
working_directory: _example
19+
full_repo_scan: true
20+
21+
- name: Upload SARIF file
22+
uses: github/codeql-action/upload-sarif@v1
23+
with:
24+
# Path to SARIF file relative to the root of the repository
25+
sarif_file: tfsec.sarif

0 commit comments

Comments
 (0)