From c2a27efc365f0f68252561bd2a0404d9d64d8ff4 Mon Sep 17 00:00:00 2001
From: Neil Alexander <neilalexander@users.noreply.github.com>
Date: Thu, 24 Mar 2022 12:40:44 +0000
Subject: [PATCH] Update `on` section of GHA workflow

---
 .github/workflows/dendrite.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.github/workflows/dendrite.yml b/.github/workflows/dendrite.yml
index 79d8dddef..053b39474 100644
--- a/.github/workflows/dendrite.yml
+++ b/.github/workflows/dendrite.yml
@@ -2,7 +2,12 @@ name: Dendrite
 
 on:
   push:
+    branches:
+      - main
   pull_request:
+  release:
+    types: [published]
+  workflow_dispatch:
 
 concurrency:
   group: ${{ github.workflow }}-${{ github.ref }}