From 68e64025fd0bc455af78d46e83952427499f3a28 Mon Sep 17 00:00:00 2001 From: Raghul Nanth A <61490162+NanthR@users.noreply.github.com> Date: Sat, 24 Jun 2023 22:33:33 +0530 Subject: [PATCH] fix(name): Push to rust-analyzer metrics repo --- .github/workflows/metrics.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/metrics.yaml b/.github/workflows/metrics.yaml index 233af42f42..ca50980981 100644 --- a/.github/workflows/metrics.yaml +++ b/.github/workflows/metrics.yaml @@ -235,10 +235,11 @@ jobs: - name: Combine json run: | - git clone --depth 1 https://$METRICS_TOKEN@github.com/nanthR/metrics.git + git clone --depth 1 https://$METRICS_TOKEN@github.com/rust-analyzer/metrics.git jq -s ".[0] * .[1] * .[2] * .[3] * .[4]" build.json self.json ripgrep.json webrender.json diesel.json -c >> metrics/metrics.json - git -C metrics add . - git -C metrics -c user.name=Bot -c user.email=dummy@example.com commit --message 📈 - git -C metrics push origin master + cd metrics + git add . + git -c user.name=Bot -c user.email=dummy@example.com commit --message 📈 + git push origin new env: METRICS_TOKEN: ${{ secrets.METRICS_TOKEN }}