From cf7732ae15a481387f1bd03626c524abd245e20a Mon Sep 17 00:00:00 2001 From: Richard Li <742829+rli@users.noreply.github.com> Date: Thu, 16 Oct 2025 11:13:47 -0700 Subject: [PATCH] ci: fix attribution step in release candidate action There may not always be a change to the license file --- .github/workflows/setup-release-candidate.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/setup-release-candidate.yml b/.github/workflows/setup-release-candidate.yml index 30e82c82433..390669d22af 100644 --- a/.github/workflows/setup-release-candidate.yml +++ b/.github/workflows/setup-release-candidate.yml @@ -49,7 +49,8 @@ jobs: # Add generated license files git add LICENSE-THIRD-PARTY - git commit -m "Update third-party license attribution for $BRANCH_NAME" + # If there are no changes, then we don't need a new attribution commit + git commit -m "Update third-party license attribution for $BRANCH_NAME" || true # Push RC branch git push origin $BRANCH_NAME