From 4e445aade71fc758ab8ec69103d36dc34c417bbc Mon Sep 17 00:00:00 2001 From: Sebastian Romero Date: Wed, 24 Apr 2024 10:35:29 +0200 Subject: [PATCH] Only render docs on main branch --- .github/workflows/render-documentation.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/render-documentation.yml b/.github/workflows/render-documentation.yml index 30ee933..db3617f 100644 --- a/.github/workflows/render-documentation.yml +++ b/.github/workflows/render-documentation.yml @@ -25,4 +25,5 @@ jobs: with: source-path: './src' target-path: './docs/api.md' - fail-on-warnings: true \ No newline at end of file + fail-on-warnings: true + commit: ${{ github.event_name != 'pull_request' }} # Only commit changes if not a PR