Skip to content

Commit

Permalink
fix github action
Browse files Browse the repository at this point in the history
  • Loading branch information
theprashantyadav committed Nov 24, 2022
1 parent ca050d9 commit 74a93ce
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}

# - name: 'Slack Notification'
# uses: clouddrove/action-slack@v2
# with:
# status: ${{ job.status }}
# fields: repo,author
# author_name: 'CloudDrove'
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required
# if: always()
- name: 'Slack Notification'
uses: clouddrove/action-slack@v2
with:
status: ${{ job.status }}
fields: repo,author
author_name: 'CloudDrove'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required
if: always()
40 changes: 20 additions & 20 deletions .github/workflows/terratest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# - name: 'Slack Notification'
# uses: clouddrove/action-slack@v2
# with:
# status: ${{ job.status }}
# fields: repo,author
# author_name: 'CloudDrove'
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required
# if: always()
- name: 'Slack Notification'
uses: clouddrove/action-slack@v2
with:
status: ${{ job.status }}
fields: repo,author
author_name: 'CloudDrove'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required
if: always()

Email:
name: 'Terratest for Email'
Expand Down Expand Up @@ -69,13 +69,13 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# - name: 'Slack Notification'
# uses: clouddrove/action-slack@v2
# with:
# status: ${{ job.status }}
# fields: repo,author
# author_name: 'CloudDrove'
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required
# if: always()
- name: 'Slack Notification'
uses: clouddrove/action-slack@v2
with:
status: ${{ job.status }}
fields: repo,author
author_name: 'CloudDrove'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required
if: always()

0 comments on commit 74a93ce

Please sign in to comment.