Skip to content

Commit ec4372f

Browse files
committed
Fix lint and workflow
1 parent c0732d1 commit ec4372f

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/dryrun.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
name: Health-check Dry Run
22

33
on:
4-
- workflow_dispatch:
4+
workflow_dispatch:
55
inputs:
66
slack_channel:
77
description: Slack channel to post the error message to if the builds fail.
88
required: false
99
default: "sdv-alerts-debug"
1010

11-
- push
12-
- pull_request
11+
push:
12+
pull_request:
1313

1414
jobs:
1515
dry_run:

download_analytics/slack_utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ def post_slack_message_in_thread(channel, text, thread_ts):
7272
def send_alert(args):
7373
"""Send an alert message to a slack channel."""
7474
url = GITHUB_URL_PREFIX + args.run_id
75-
message = f'Download Analytics build failed :fire: :dumpster-fire: :fire: See errors <{url}|here>'
75+
message = (
76+
f'Download Analytics build failed :fire: :dumpster-fire: :fire: See errors <{url}|here>'
77+
)
7678
post_slack_message(args.channel, message)
7779

7880

0 commit comments

Comments
 (0)