You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: .github/workflows/validate-snapshots.yml
+30-8
Original file line number
Diff line number
Diff line change
@@ -78,13 +78,35 @@ jobs:
78
78
- test
79
79
80
80
steps:
81
-
- uses: actions/checkout@v4
81
+
- name: Checkout
82
+
uses: actions/checkout@v4
83
+
with:
84
+
token: ${{ env.GH_TOKEN }}
85
+
82
86
- name: Slack Notification
83
-
uses: rtCamp/action-slack-notify@v2
87
+
uses: slackapi/slack-github-action@v1.26.0
88
+
with:
89
+
payload: |
90
+
{
91
+
"text": "Workflow ${{ needs.test.result }}",
92
+
"blocks": [
93
+
{
94
+
"type": "header",
95
+
"text": {
96
+
"type": "plain_text",
97
+
"text": ":x: Workflow ${{ needs.test.result }}",
98
+
"emoji": true
99
+
}
100
+
},
101
+
{
102
+
"type": "section",
103
+
"text": {
104
+
"type": "mrkdwn",
105
+
"text": "*Workflow*: <https://github.com/dfe-analytical-services/explore-education-statistics/actions/workflows/validate-snapshots.yml|${{ github.workflow }}>\n*Details*: Notification from action run `${{ github.run_number }}`, which ran against commit `${{ github.sha }}` from branch `${{ github.ref_name }}` of the `${{ github.repository }}` repository."
0 commit comments