From 8783a3aa6e81ba46ad7bf0d0931e22b89e0eff45 Mon Sep 17 00:00:00 2001 From: Jack Baldry Date: Tue, 21 Jun 2022 13:46:56 +0100 Subject: [PATCH] Allow workflow to silently succeed if nothing is to be committed Signed-off-by: Jack Baldry --- .github/workflows/publish-technical-documentation-release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/publish-technical-documentation-release.yml b/.github/workflows/publish-technical-documentation-release.yml index ace2f629..707e20c7 100644 --- a/.github/workflows/publish-technical-documentation-release.yml +++ b/.github/workflows/publish-technical-documentation-release.yml @@ -72,3 +72,7 @@ jobs: source_folder: "docs/sources" # Append ".x" to target to produce a v..x directory. target_folder: "content/docs/oncall/${{ steps.target.outputs.target }}.x" + # Allow the workflow to succeed if there are no changes to commit. + # This is only going to be true on tags as those events ignore the path + # filter in the workflow `on.push` section. + allow_no_changes: "true"