Allow workflow to silently succeed if nothing is to be committed

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
This commit is contained in:
Jack Baldry 2022-06-21 13:46:56 +01:00
parent da98fa3804
commit 8783a3aa6e
No known key found for this signature in database
GPG key ID: 246FDFBB45F98F4A

View file

@ -72,3 +72,7 @@ jobs:
source_folder: "docs/sources"
# Append ".x" to target to produce a v<major>.<minor>.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"