From 91623ac26523ec3188687596467ccd53b10a4c50 Mon Sep 17 00:00:00 2001 From: Jacob Schmieder Date: Mon, 29 Apr 2024 16:02:47 +0200 Subject: [PATCH] Update documentation.yml only run when merged to main --- .github/workflows/documentation.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 9f5141f..53277f2 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -1,6 +1,10 @@ name: documentation -on: [push, pull_request, workflow_dispatch] +on: + push: + branches: + - main + workflow_dispatch: permissions: contents: write