<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hatappi1225</author_name>
  <author_url>https://blog.hatena.ne.jp/hatappi1225/</author_url>
  <blog_title>hatappi.blog</blog_title>
  <blog_url>https://hatappi.blog/</blog_url>
  <categories>
  </categories>
  <description>今日ふと下記のようなことを思った。 Github Actionsでワークフロー失敗したらslack通知みたいなのどうやると良いかなと思ってたけどworkflow_runというイベント使って別のワークフロー作ってあげる感じかな？— はたっぴ (@hatappi) 2020年9月21日 たしかに workflow_run を使えばワークフローが失敗した時に任意のstepは実行できそう。 docs.github.com この方法だとワークフローが別れてしまうので、あまりスッキリしない。 すると下記のような返信をいただいたので試してみた。 Slack通知のstepに `if: {{ $failure(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhatappi.blog%2Fentry%2F2020%2F09%2F22%2F002657&quot; title=&quot; GitHub Actions で失敗した時も step を実行する - hatappi.blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/h/hatappi1225/20200922/20200922002451.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-09-22 00:26:57</published>
  <title> GitHub Actions で失敗した時も step を実行する</title>
  <type>rich</type>
  <url>https://hatappi.blog/entry/2020/09/22/002657</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
