aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-24 19:06:33 +0100
committerAleksey Kladov <[email protected]>2020-07-24 19:21:18 +0100
commit80d6bdbb30cb6eb154286d9e96cf2e917905a9fd (patch)
treeadbbbebd154c3c69c22056b72eee0e78d1856477
parentde714640bd744b194d1b4c918a6f44d3cba02339 (diff)
fix name
-rw-r--r--.github/workflows/metrics.yaml2
-rw-r--r--xtask/src/metrics.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/metrics.yaml b/.github/workflows/metrics.yaml
index e51c62bb4..58f369422 100644
--- a/.github/workflows/metrics.yaml
+++ b/.github/workflows/metrics.yaml
@@ -1,4 +1,4 @@
1name: rustdoc 1name: metrics
2on: 2on:
3 push: 3 push:
4 branches: 4 branches:
diff --git a/xtask/src/metrics.rs b/xtask/src/metrics.rs
index c2b6c000f..343e6e5aa 100644
--- a/xtask/src/metrics.rs
+++ b/xtask/src/metrics.rs
@@ -20,7 +20,7 @@ pub fn run_metrics() -> Result<()> {
20 let _d = pushd("target/metrics"); 20 let _d = pushd("target/metrics");
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 commit -am'📈'")?; 23 run!("git commit --author='GitHub Action <>' -am'📈' ")?;
24 24
25 if let Ok(actor) = env::var("GITHUB_ACTOR") { 25 if let Ok(actor) = env::var("GITHUB_ACTOR") {
26 let token = env::var("GITHUB_TOKEN").unwrap(); 26 let token = env::var("GITHUB_TOKEN").unwrap();