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:
2
.github/workflows/run_tests.yml
vendored
2
.github/workflows/run_tests.yml
vendored
@@ -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
|
||||
|
||||
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user