Skip to content

Commit

Permalink
chore(hermetic-build): add hint for old commit hash error message (go…
Browse files Browse the repository at this point in the history
…ogleapis#3415)

This adds a small hint on why it's likely that the release note
generation workflow has failed due to the current branch having an older
commit than the base branch. Rationale: requires understanding on why
"hermetic code library generation" needs an "newer commit".
  • Loading branch information
diegomarquezp authored Dec 5, 2024
1 parent 3b88bd6 commit 12e08c3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ def get_repo_level_commit_messages(
f"current_commit ({current_commit_sha[:7]}, committed on "
f"{current_commit_time}) should be newer than or equal to "
f"baseline_commit ({baseline_commit_sha[:7]}, committed on "
f"{baseline_commit_time})."
f"{baseline_commit_time}) (is this branch up to date with "
f"the base branch?)."
)
qualified_commits = {}
commit = current_commit
Expand Down

0 comments on commit 12e08c3

Please sign in to comment.