Skip to content

Commit

Permalink
Merge pull request #25 from sue445/migrator/20240411225811_migrate_to…
Browse files Browse the repository at this point in the history
…_act10ns_slack

Migrate to act10ns/slack
  • Loading branch information
sue445 authored Apr 11, 2024
2 parents c173474 + cc629cd commit a340537
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 18 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,9 @@ jobs:
- run: docker compose --file docker-compose.test.yml run sut

- name: Slack Notification
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 }}
18 changes: 6 additions & 12 deletions .github/workflows/update_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,12 @@ jobs:
git push origin
- name: Slack Notification (not success)
uses: lazy-actions/slatify@master
uses: act10ns/slack@v2
if: "! success()"
continue-on-error: true
with:
job_name: '*update_version*'
type: ${{ job.status }}
icon_emoji: ":octocat:"
url: ${{ secrets.SLACK_WEBHOOK }}
token: ${{ secrets.GITHUB_TOKEN }}
status: ${{ job.status }}
webhook-url: ${{ secrets.SLACK_WEBHOOK }}

build:
needs:
Expand All @@ -68,12 +65,9 @@ jobs:
- run: docker compose --file docker-compose.test.yml run sut

- name: Slack Notification (not success)
uses: lazy-actions/slatify@master
uses: act10ns/slack@v2
if: "! success()"
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 a340537

Please sign in to comment.