Skip to content

Commit

Permalink
chore(buildkite): ignore notifications on canceled builds (#8099)
Browse files Browse the repository at this point in the history
  • Loading branch information
rexledesma authored and OwenKephart committed Jun 1, 2022
1 parent 798eedc commit 2d3275c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .buildkite/dagster-buildkite/dagster_buildkite/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def buildkite_yaml_for_steps(steps) -> str:
"notify": [
{
"slack": f"elementl#{slack_channel}",
"if": f"build.creator.email == '{buildkite_email}'",
"if": f"build.creator.email == '{buildkite_email}' && build.state != 'canceled'",
}
for buildkite_email, slack_channel in BUILD_CREATOR_EMAIL_TO_SLACK_CHANNEL_MAP.items()
],
Expand Down

0 comments on commit 2d3275c

Please sign in to comment.