diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1fbf833..79fefe7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -62,15 +62,13 @@ jobs: DOCKER_CONTAINER: container-with-service - 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}, {1})', matrix.ruby, matrix.image) }} - 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: @@ -80,12 +78,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 }}