ci: Explicitly set git committer information in protobuf check (#44582) (cherry-pick to preview) (#44900)

Cherry-pick of #44582 to preview

----
This should hopefully fix the flakes for good.

Release Notes:

- N/A

Co-authored-by: Finn Evers <finn@zed.dev>
This commit is contained in:
zed-zippy[bot]
2025-12-15 17:29:28 +00:00
committed by GitHub
parent 535caa7ec6
commit b0c6de7ee9
2 changed files with 4 additions and 0 deletions

View File

@@ -497,6 +497,8 @@ jobs:
env:
GIT_AUTHOR_NAME: Protobuf Action
GIT_AUTHOR_EMAIL: ci@zed.dev
GIT_COMMITTER_NAME: Protobuf Action
GIT_COMMITTER_EMAIL: ci@zed.dev
steps:
- name: steps::checkout_repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

View File

@@ -368,6 +368,8 @@ pub(crate) fn check_postgres_and_protobuf_migrations() -> NamedJob {
.runs_on(runners::LINUX_DEFAULT)
.add_env(("GIT_AUTHOR_NAME", "Protobuf Action"))
.add_env(("GIT_AUTHOR_EMAIL", "ci@zed.dev"))
.add_env(("GIT_COMMITTER_NAME", "Protobuf Action"))
.add_env(("GIT_COMMITTER_EMAIL", "ci@zed.dev"))
.add_step(steps::checkout_repo().with(("fetch-depth", 0))) // fetch full history
.add_step(remove_untracked_files())
.add_step(ensure_fresh_merge())