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: python-project-template/.github/workflows/smoke-test.yml.jinja
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -78,12 +78,12 @@ jobs:
78
78
{%- if'slack'infailure_notification%}
79
79
{%- raw%}
80
80
- name: Send status to Slack app
81
-
if: ${{ failure() && github.event_name != 'workflow_dispatch' }} # Only post if the workflow failed and was not manually started. Customize this as necessary.
payload: | # The payload defined here can be customized to you liking https://api.slack.com/reference/block-kit/blocks
86
+
payload: |
87
87
{
88
88
"blocks": [
89
89
{
@@ -97,7 +97,7 @@ jobs:
97
97
"type": "section",
98
98
"text": {
99
99
"type": "mrkdwn",
100
-
"text": "GitHub Action build result: *${{ job.status }}* :${{ job.status }}:" # Note that we expect the slack workspace to have an emoji called “failed” in this case.
0 commit comments