Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
archive

GitHub Action

Morty Post Mortems

v1

Morty Post Mortems

archive

Morty Post Mortems

Turns a repository into an organized collection of post-mortems

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Morty Post Mortems

uses: mentimeter/morty@v1

Learn more about this action in mentimeter/morty

Choose a version

logo

Morty

An action that turns a GitHub Repository into an organized collection of post-mortems


"There is no better way to learn than to document what has broken in the past. History is about learning from everyone’s mistakes. Be thorough, be honest, but most of all, ask hard questions. Look for specific actions that might prevent such an outage from recurring, not just tactically, but also strategically. Ensure that everyone within the company can learn what you have learned by publishing and organizing postmortems."

~ From the "Emergency Response" Chapter in "Site Reliability Engineering: How Google Runs Production Systems"

Check out the example repository to see what it's like!

Morty is a GitHub Action that gives you an overview of your post-mortems. It parses your post-mortems written in markdown, and gives you some friendly advice on running good post-mortems on the way 📈

morty-example

Getting started

Install the action in a (new) repository. You can create one from a template repository if you'd like!

To install the action, add a new workflow file .github/workflows/morty.yml. It should contain something like this:

name: Morty
on: [push, pull_request]

jobs:
  morty:
    runs-on: ubuntu-latest

    steps:
    - name: Organize mortems
      uses: mentimeter/morty@v1
      with:
        token: ${{ github.token }}

The easiest way to make a new post-mortem is to make a copy of the template that morty makes for you post-mortems/template.md. There are also some more instructions there to help you get going.

Why morty / post mortems as a repository?

  • An incident history you can analyse
  • Zero-overhead organization
  • Easy to do global search
  • Easy to follow normal pull request flow & collaborate