Skip to content

Commit

Permalink
Merge a38c08f into ff6653f
Browse files Browse the repository at this point in the history
  • Loading branch information
sue445 committed Apr 10, 2024
2 parents ff6653f + a38c08f commit 936eff5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 18 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/pages.yml
Expand Up @@ -51,12 +51,9 @@ jobs:
uses: actions/deploy-pages@main

- name: Slack Notification (not success)
uses: lazy-actions/slatify@master
uses: act10ns/slack@v2
if: "! success()"
continue-on-error: true
with:
job_name: "*pages*"
type: ${{ job.status }}
icon_emoji: ":octocat:"
url: ${{ secrets.SLACK_WEBHOOK }}
token: ${{ secrets.GITHUB_TOKEN }}
status: ${{ job.status }}
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
19 changes: 7 additions & 12 deletions .github/workflows/test.yml
Expand Up @@ -69,15 +69,13 @@ jobs:
continue-on-error: true

- name: Slack Notification (not success)
uses: lazy-actions/slatify@master
uses: act10ns/slack@v2
if: "! success()"
continue-on-error: true
with:
job_name: ${{ format('*build* ({0})', matrix.ruby) }}
type: ${{ job.status }}
icon_emoji: ":octocat:"
url: ${{ secrets.SLACK_WEBHOOK }}
token: ${{ secrets.GITHUB_TOKEN }}
status: ${{ job.status }}
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
matrix: ${{ toJson(matrix) }}

notify:
needs:
Expand All @@ -87,12 +85,9 @@ jobs:

steps:
- name: Slack Notification (success)
uses: lazy-actions/slatify@master
uses: act10ns/slack@v2
if: always()
continue-on-error: true
with:
job_name: '*build*'
type: ${{ job.status }}
icon_emoji: ":octocat:"
url: ${{ secrets.SLACK_WEBHOOK }}
token: ${{ secrets.GITHUB_TOKEN }}
status: ${{ job.status }}
webhook-url: ${{ secrets.SLACK_WEBHOOK }}

0 comments on commit 936eff5

Please sign in to comment.