Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

ci: Use Zed Zippy configuration for creating cherry-pick branch (#53640)

Finn Evers7f73e3845235
diff --git a/.github/workflows/cherry_pick.yml b/.github/workflows/cherry_pick.yml
index ed0800dc5bb..b24f8a133be 100644
--- a/.github/workflows/cherry_pick.yml
+++ b/.github/workflows/cherry_pick.yml
@@ -44,8 +44,10 @@ jobs:
BRANCH: ${{ inputs.branch }}
COMMIT: ${{ inputs.commit }}
CHANNEL: ${{ inputs.channel }}
- GIT_COMMITTER_NAME: Zed Zippy
- GIT_COMMITTER_EMAIL: [email protected]
+ GIT_AUTHOR_NAME: zed-zippy[bot]
+ GIT_AUTHOR_EMAIL: <234243425+zed-zippy[bot]@users.noreply.github.com>
+ GIT_COMMITTER_NAME: zed-zippy[bot]
+ GIT_COMMITTER_EMAIL: <234243425+zed-zippy[bot]@users.noreply.github.com>
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
defaults:
run:
diff --git a/tooling/xtask/src/tasks/workflows/cherry_pick.rs b/tooling/xtask/src/tasks/workflows/cherry_pick.rs
index 46fb41094eb..fe5a966156d 100644
--- a/tooling/xtask/src/tasks/workflows/cherry_pick.rs
+++ b/tooling/xtask/src/tasks/workflows/cherry_pick.rs
@@ -39,8 +39,16 @@ fn run_cherry_pick(
.add_env(("BRANCH", branch.to_string()))
.add_env(("COMMIT", commit.to_string()))
.add_env(("CHANNEL", channel.to_string()))
- .add_env(("GIT_COMMITTER_NAME", "Zed Zippy"))
- .add_env(("GIT_COMMITTER_EMAIL", "[email protected]"))
+ .add_env(("GIT_AUTHOR_NAME", "zed-zippy[bot]"))
+ .add_env((
+ "GIT_AUTHOR_EMAIL",
+ "<234243425+zed-zippy[bot]@users.noreply.github.com>",
+ ))
+ .add_env(("GIT_COMMITTER_NAME", "zed-zippy[bot]"))
+ .add_env((
+ "GIT_COMMITTER_EMAIL",
+ "<234243425+zed-zippy[bot]@users.noreply.github.com>",
+ ))
.add_env(("GITHUB_TOKEN", token))
}