From 6ba35984a1b96d2c058c27f5c40d3e4b637ffa8f Mon Sep 17 00:00:00 2001 From: Isaac Marovitz Date: Mon, 24 Jul 2023 20:06:18 -0400 Subject: [PATCH] Formatting --- .github/workflows/label-stats.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/label-stats.yml b/.github/workflows/label-stats.yml index f8f7575..404f2e8 100644 --- a/.github/workflows/label-stats.yml +++ b/.github/workflows/label-stats.yml @@ -1,8 +1,10 @@ name: Generate label stats + on: schedule: - cron: "0 0 * * *" workflow_dispatch: + jobs: stats: name: Generate label stats @@ -12,6 +14,7 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + - name: Query stats uses: actions/github-script@v6 id: stats @@ -46,8 +49,10 @@ jobs: const string = JSON.stringify(formattedData, null, 2).replaceAll('\"', '\\"'); return string; + - name: Write stats run: echo "${{steps.stats.outputs.result}}" > compat-stats.json + - name: Commit stats run: | git config user.name github-actions