Skip to content

Commit f2f471e

Browse files
committed
SlackNotifications
1 parent b7d7612 commit f2f471e

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/playwright.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,9 @@ jobs:
4949
path: html-report.zip
5050

5151
- name: Send Slack notification with artifact link
52-
uses: peaceiris/actions-slack@v3
52+
uses: "https://github.com/marketplace/actions/slack-action"
53+
env:
54+
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
5355
with:
54-
text: "Playwright tests have completed successfully. HTML report is attached as an artifact. You can download it [here](${{ github.server_url }}/${{ github.repository }}/actions/artifacts/html-report)"
55-
channel: "#playwright-test-reports"
56-
author_name: GitHub Actions
57-
color: good
58-
webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}
56+
args: |
57+
{"text": "Playwright tests have completed successfully. HTML report is attached as an artifact. You can download it [here](${{ github.server_url }}/${{ github.repository }}/actions/artifacts/html-report)"}

0 commit comments

Comments
 (0)