diff options
author | Aleksey Kladov <[email protected]> | 2020-07-24 19:42:29 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-24 19:42:29 +0100 |
commit | cc0c8b2882c7a0b00bc30e0c22040f7d4ba9f584 (patch) | |
tree | 93a0dc05b4de4db3c415353c03a583d034fdbcfa /xtask/src | |
parent | d9d00988f2d03c61088332bd6546694b43209942 (diff) |
Fix email
Diffstat (limited to 'xtask/src')
-rw-r--r-- | xtask/src/metrics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<()> { | |||
21 | let mut file = std::fs::OpenOptions::new().append(true).open("metrics.json")?; | 21 | let mut file = std::fs::OpenOptions::new().append(true).open("metrics.json")?; |
22 | writeln!(file, "{}", metrics.json())?; | 22 | writeln!(file, "{}", metrics.json())?; |
23 | run!("git add .")?; | 23 | run!("git add .")?; |
24 | run!("git commit --author 'GitHub Action <>' --message '📈' ")?; | 24 | run!("git -c user.name=Bot -c user.email=dummy@example.com commit --message 📈")?; |
25 | 25 | ||
26 | if let Ok(actor) = env::var("GITHUB_ACTOR") { | 26 | if let Ok(actor) = env::var("GITHUB_ACTOR") { |
27 | let token = env::var("GITHUB_TOKEN").unwrap(); | 27 | let token = env::var("GITHUB_TOKEN").unwrap(); |