Skip to content

Commit

Permalink
Upgrade homoluctus/slatify
Browse files Browse the repository at this point in the history
  • Loading branch information
sue445 committed Nov 21, 2019
1 parent fc1fe06 commit f7c9d3e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,14 @@ jobs:
if: always()

- name: Slack Notification (not success)
uses: homoluctus/slatify@v1.5
uses: homoluctus/slatify@v2.0.0
if: "! success()"
with:
job_name: '*build*'
type: ${{ job.status }}
icon_emoji: ":octocat:"
url: ${{ secrets.SLACK_WEBHOOK }}
token: ${{ secrets.GITHUB_TOKEN }}

rubocop:
runs-on: ubuntu-latest
Expand All @@ -131,13 +132,14 @@ jobs:
bundle exec rubocop
- name: Slack Notification (not success)
uses: homoluctus/slatify@v1.5
uses: homoluctus/slatify@v2.0.0
if: "! success()"
with:
job_name: '*build*'
type: ${{ job.status }}
icon_emoji: ":octocat:"
url: ${{ secrets.SLACK_WEBHOOK }}
token: ${{ secrets.GITHUB_TOKEN }}

notify:
needs:
Expand All @@ -148,10 +150,11 @@ jobs:

steps:
- name: Slack Notification (success)
uses: homoluctus/slatify@v1.5
uses: homoluctus/slatify@v2.0.0
if: always()
with:
job_name: '*build*'
type: ${{ job.status }}
icon_emoji: ":octocat:"
url: ${{ secrets.SLACK_WEBHOOK }}
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f7c9d3e

Please sign in to comment.