From cc0c8b2882c7a0b00bc30e0c22040f7d4ba9f584 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 24 Jul 2020 20:42:29 +0200 Subject: Fix email --- xtask/src/metrics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xtask/src') diff --git a/xtask/src/metrics.rs b/xtask/src/metrics.rs index 6bbd41361..612bef51f 100644 --- a/xtask/src/metrics.rs +++ b/xtask/src/metrics.rs @@ -21,7 +21,7 @@ pub fn run_metrics() -> Result<()> { let mut file = std::fs::OpenOptions::new().append(true).open("metrics.json")?; writeln!(file, "{}", metrics.json())?; run!("git add .")?; - run!("git commit --author 'GitHub Action <>' --message '📈' ")?; + run!("git -c user.name=Bot -c user.email=dummy@example.com commit --message 📈")?; if let Ok(actor) = env::var("GITHUB_ACTOR") { let token = env::var("GITHUB_TOKEN").unwrap(); -- cgit v1.2.3