From a2f5b3669bacd00f52a94bde41ebe65b95da0850 Mon Sep 17 00:00:00 2001 From: Manuel Date: Thu, 4 May 2023 14:01:48 +0200 Subject: [PATCH] Create metrics.yml --- .github/workflows/metrics.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/metrics.yml diff --git a/.github/workflows/metrics.yml b/.github/workflows/metrics.yml new file mode 100644 index 0000000..1162dcb --- /dev/null +++ b/.github/workflows/metrics.yml @@ -0,0 +1,17 @@ +name: Metrics +on: + # Schedule daily updates + schedule: [{cron: "0 0 * * *"}] + # (optional) Run workflow manually + workflow_dispatch: + # (optional) Run workflow when pushing on master/main + push: {branches: ["master", "main"]} +jobs: + github-metrics: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - uses: lowlighter/metrics@latest + with: + token: ${{ secrets.METRICS_TOKEN }}